cmd/go: test coverage output twice #32717
What version of Go are you using (
referenced this issue
Jun 20, 2019
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.