You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running an empty set of tests is definitely a pass because nothing fails.
People frequently use -run XXX -bench . to only run the benchmarks, so if
we change the behavior of go test forum NotAValidTestName, this idiom won't
work anymore.
What version of Go are you using (
go version
)?go1.7.1 linux/386
What operating system and processor architecture are you using (
go env
)?What did you do?
enter the command
go test -run NotAValidTestName
or any other test name that does not existWhat did you expect to see?
either
test not found
orFAIL
What did you see instead?
PASS
The text was updated successfully, but these errors were encountered: