-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go test -coverprofile produces no profile if there are no test files. #6725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Similarly, "go test -cover" doesn't report coverage for packages without tests. $ go test -cover ? unsafe [no test files] This is either WorkingAsIntended or a bug. I'll let Rob decide which. Owner changed to @robpike. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: