summaryrefslogtreecommitdiff
path: root/cli/tools/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/coverage')
-rw-r--r--cli/tools/coverage/reporter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/coverage/reporter.rs b/cli/tools/coverage/reporter.rs
index 4bb72b264..fe44fa4d0 100644
--- a/cli/tools/coverage/reporter.rs
+++ b/cli/tools/coverage/reporter.rs
@@ -644,7 +644,7 @@ impl HtmlCoverageReporter {
if *count == 0 {
"<span class='cline-any cline-no'>&nbsp</span>".to_string()
} else {
- format!("<span class='cline-any cline-yes'>x{count}</span>")
+ format!("<span class='cline-any cline-yes' title='This line is covered {count} time{}'>x{count}</span>", if *count > 1 { "s" } else { "" })
}
} else {
"<span class='cline-any cline-neutral'>&nbsp</span>".to_string()