From 94bf5f731aa8addcedb162525e96c4e1bd2ebfdd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 22 Aug 2010 23:18:14 -0400 Subject: Unify formatting of coverage percentages, and don't show zero or 100 as a result of rounding. Fixes #41 and #70. --- coverage/htmlfiles/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coverage/htmlfiles/index.html') diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index c1ef8ad7..bec2584f 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -16,7 +16,7 @@ @@ -48,7 +48,7 @@ {{totals.n_branches}} {{totals.n_missing_branches}} {% endif %} - {{totals.pc_covered|format_pct}}% + {{totals.pc_covered_str}}% @@ -62,7 +62,7 @@ {{file.nums.n_branches}} {{file.nums.n_missing_branches}} {% endif %} - {{file.nums.pc_covered|format_pct}}% + {{file.nums.pc_covered_str}}% {% endfor %} -- cgit v1.2.1