1
0
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:
Carlos Alexandro Becker 2018-10-30 23:12:41 -03:00 committed by Carlos Alexandro Becker
parent 020174ebd2
commit bd5d853f60

View File

@ -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{