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
cmd/go: test coverage output twice #32717
What version of Go are you using (
go test fmt -cover -v -count=1
go test fmt -cover -count=1
go test -cover -count=1
go test -cover -count=1 -v
It seems like the appropriate fix in the code base should be to account for the first condition listed in my previous comment. This is the only condition I can find that prints the coverage output line as well as including it in the summary.
I added the additional condition to this function and it appears to resolve the issue.