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?
to your account
$ go version
go version go1.14.1 darwin/amd64
macOS Mojave darwin/amd64
$ go test -v -coverprofile=coverfunc.out ./...
$ go tool cover -func=coverfunc.out
hello.go:84: Handle 92.1%
total: (statements) 92.1%
I want to see total coverage to be 92.12% instead of 92.1%. We want to track coverage to have higher precision, atleast 2 decimal places.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/226538 mentions this issue: cover: change coverage precision to .2f
cover: change coverage precision to .2f
Sorry, something went wrong.
Successfully merging a pull request may close this issue.