Commit c232fff
committed
Floor (not round) the post-filter totals in HTML report
When a user filters the file table, the totals row re-renders via
updateTotalsCell, which used Float#toFixed(2) — rounding 763/777
to 98.20%. The initial render uses fmtPct, which floors. Switch the
filter-update path to fmtPct so a user who sets minimum_coverage to
the displayed number doesn't get a failing run on the next pass.
Resolves #1115.1 parent c13b9e4 commit c232fff
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
| 722 | + | |
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| |||
0 commit comments