-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing: syntax errors not picked up if no tests cases #8555
Labels
Milestone
Comments
I can confirm it did fail on 1.2 and it does not on 1.3.1: $ go version go version go1.2 linux/amd64 $ go test # github.com/vdemario/foo /home/vitordemario/ssd/golang/src/github.com/vdemario/foo/foo.go:4: syntax error: unexpected name, expecting semicolon or newline or } FAIL github.com/vdemario/foo [build failed] $ go version go version go1.3.1 linux/amd64 $ go test testing: warning: no tests to run PASS ok github.com/vdemario/foo 0.001s |
I can confirm it did fail on 1.2 and it does not on 1.3.1: $ go version go version go1.2 linux/amd64 $ go test (...) syntax error: unexpected name, expecting semicolon or newline or } FAIL github.com/vdemario/foo [build failed] $ go version go version go1.3.1 linux/amd64 $ go test testing: warning: no tests to run PASS ok github.com/vdemario/foo 0.001s |
Looks like a duplicate of 8337. Please holler if I'm wrong. Status changed to Duplicate. Merged into issue #8337. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: