I'm trying to calculate the total coverage for one of my repositories 
https://github.com/NicklasWallgren/go-template using 
go test ./... -p 1 -coverprofile=build/coverage.out -coverpkg ./... 

The coverage.out is successfully generated, but the report contains 
reoccurring rows and is quite large (several mb). 

The following line is duplicated 3x.
github.com/NicklasWallgren/go-template/adapters/driven/health/health_checker_manager.go:18.92,20.2
 
1 1 

Without -coverpkg the report is only 7.5 K, and doesn't contain any 
duplicated rows. Is this the expected result, or am I doing something wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cc255e07-f831-4f4e-baa7-04ff6e76446an%40googlegroups.com.

Reply via email to