aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_main_twice.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/test_main_twice.txt')
-rw-r--r--src/cmd/go/testdata/script/test_main_twice.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/test_main_twice.txt b/src/cmd/go/testdata/script/test_main_twice.txt
index 1e68dabec0..f32d4fc3b5 100644
--- a/src/cmd/go/testdata/script/test_main_twice.txt
+++ b/src/cmd/go/testdata/script/test_main_twice.txt
@@ -4,7 +4,11 @@ env GOCACHE=$WORK/tmp
go test -v multimain
stdout -count=2 notwithstanding # check tests ran twice
--- multimain/multimain_test.go --
+-- go.mod --
+module multimain
+
+go 1.16
+-- multimain_test.go --
package multimain_test
import "testing"