proposal: cmd/go: add -tests to list of vet checks run by "go test" #44251
Comments
Is at least correctly reported on the playground https://play.golang.org/p/dj_FUdOxN1j |
The problem is reported by |
@D1CED Ah, I thought it isn't relevant to playground, my guess was wrong. @ianlancetaylor I keep forget about |
Yes, I'll change this issue into a proposal to do that. |
Great, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?go 1.15.8
What did you do?
I resturctured my test TestXXX as an example ExampleXXX. But forgot to remove the argument.
What did you expect to see?
ExampleXXX(t *testing.T) is wrong signature for an example (has *testing.T as an argument),
so it should raise error on
go test
.What did you see instead?
It didn't run. Made me assumes the test has successfully finished.
The text was updated successfully, but these errors were encountered: