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
go test -run='^$' -bench=. on a package of mine with benchmarks.
What did you expect to see?
$ go test -run='^$' -bench=.
BenchmarkFprint-4 300000 5056 ns/op
PASS
ok github.com/mvdan/sh/printer 1.574s
What did you see instead?
$ go test -run='^$' -bench=.
testing: warning: no tests to run
BenchmarkFprint-4 300000 5056 ns/op
PASS
ok github.com/mvdan/sh/printer 1.574s [no tests to run]
The [no tests to run] doesn't bother me, but the extra line at the beginning does. I think this should be turned off if any benchmarks are run.
Happy to submit a patch today if this makes sense.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +517a44d Tue Oct 25 12:23:49 2016 +0000 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
go test -run='^$' -bench=.
on a package of mine with benchmarks.What did you expect to see?
What did you see instead?
The
[no tests to run]
doesn't bother me, but the extra line at the beginning does. I think this should be turned off if any benchmarks are run.Happy to submit a patch today if this makes sense.
The text was updated successfully, but these errors were encountered: