aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt')
-rw-r--r--src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt b/src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt
index 92cb690dcc..e1c96438c8 100644
--- a/src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt
+++ b/src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt
@@ -6,9 +6,13 @@
! stderr '(?m)^ok.*\[no tests to run\]'
stdout 'FAIL'
--- syntaxerror/x.go --
+-- go.mod --
+module syntaxerror
+
+go 1.16
+-- x.go --
package p
--- syntaxerror/x_test.go --
+-- x_test.go --
package p
func f() (x.y, z int) {