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
What does 'go version' print?
go version go1.2.1 linux/386
What steps reproduce the problem?
1. Create foo.go and foo_test.go with contents only "package foo"
2. go test -cover foo
What happened?
ok foo 0.003s coverage: 0.0% of statements
What should have happened instead?
ok foo 0.003s coverage: 100.0% of statements
Both are technically correct. But 0.0% suggests there's room for improvement, whereas
100% indicates that we couldn't do any better.
The text was updated successfully, but these errors were encountered:
by ttencate:
The text was updated successfully, but these errors were encountered: