aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_race_install.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/test_race_install.txt')
-rw-r--r--src/cmd/go/testdata/script/test_race_install.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/test_race_install.txt b/src/cmd/go/testdata/script/test_race_install.txt
index 66dc19ebb6..d28809bfdc 100644
--- a/src/cmd/go/testdata/script/test_race_install.txt
+++ b/src/cmd/go/testdata/script/test_race_install.txt
@@ -8,6 +8,10 @@ go install -race -pkgdir=$WORKDIR/tmp/pkg std
go test -race -pkgdir=$WORKDIR/tmp/pkg -i -v empty/pkg
! stderr .
--- empty/pkg/pkg.go --
+-- go.mod --
+module empty
+
+go 1.16
+-- pkg/pkg.go --
package p