We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af06b8 commit badff9bCopy full SHA for badff9b
internal/app/table_summary.go
@@ -177,7 +177,7 @@ func (c *consoleWriter) summaryTable(
177
status = c.red(status)
178
}
179
180
- // Skip packages with 0% coverage and no tests to mimic nocoverageredesign behavior
+ // Skip packages with no coverage to mimic nocoverageredesign behavior (changed in github.com/golang/go/issues/24570)
181
totalTests := len(pkg.TestsByAction(parse.ActionPass)) + len(pkg.TestsByAction(parse.ActionFail)) + len(pkg.TestsByAction(parse.ActionSkip))
182
if pkg.Cover && pkg.Coverage == 0.0 && totalTests == 0 {
183
continue
0 commit comments