mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
test: fix build tests
This commit is contained in:
parent
020174ebd2
commit
bd5d853f60
@ -79,6 +79,7 @@ func TestBuild(t *testing.T) {
|
||||
var config = config.Project{
|
||||
Builds: []config.Build{
|
||||
{
|
||||
Env: []string{"GO111MODULE=off"},
|
||||
Binary: "foo",
|
||||
Targets: []string{
|
||||
"linux_amd64",
|
||||
@ -328,6 +329,7 @@ func TestRunPipeWithMainFuncNotInMainGoFile(t *testing.T) {
|
||||
var config = config.Project{
|
||||
Builds: []config.Build{
|
||||
{
|
||||
Env: []string{"GO111MODULE=off"},
|
||||
Binary: "foo",
|
||||
Hooks: config.Hooks{},
|
||||
Targets: []string{
|
||||
|
Loading…
x
Reference in New Issue
Block a user