github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/test_syntax_error_says_fail.txt (about) 1 # Test that the error message for a syntax error in a test go file 2 # says FAIL. 3 4 ! go test syntaxerror 5 stderr 'x_test.go:' # check that the error is diagnosed 6 stdout 'FAIL' # check that go test says FAIL 7 8 -- syntaxerror/x.go -- 9 package p 10 -- syntaxerror/x_test.go -- 11 package p 12 13 func f() (x.y, z int) { 14 }