Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
testing: `go test -run` should warn user if there are no tests to run #7893
`go test` generates a very useful warning when there are no tests to run: > go test testing: warning: no tests to run PASS ok mypkg 0.010s However, the behaviour is different when `-run` flag is involved: > go test -run=DoesNotExist PASS ok mypkg 0.011s It will be really useful to suggest user of his/her mistake in the second case (with -run flag). Thanks.
This issue was closed.