Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Make double quote usage consistent in HTML header
Browse files Browse the repository at this point in the history
Currently, the `fraction` class attribute was used with single quotes, while the others use double quotes. I've converted it to double quotes, to at least have consistency between the header spans. Outside of this, there is still some inconcistency within the templates on attribute quoting, but I considered that to be a too intrusive change.
  • Loading branch information
gandreadis authored Mar 7, 2019
1 parent bc84c31 commit 930c69a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/report/templates/head.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@
<div class='fl pad1y space-right2'>
<span class="strong">{{pct}}% </span>
<span class="quiet">Statements</span>
<span class='fraction'>{{covered}}/{{total}}</span>
<span class="fraction">{{covered}}/{{total}}</span>
</div>
{{/with}}
{{#with metrics.branches}}
<div class='fl pad1y space-right2'>
<span class="strong">{{pct}}% </span>
<span class="quiet">Branches</span>
<span class='fraction'>{{covered}}/{{total}}</span>
<span class="fraction">{{covered}}/{{total}}</span>
</div>
{{/with}}
{{#with metrics.functions}}
<div class='fl pad1y space-right2'>
<span class="strong">{{pct}}% </span>
<span class="quiet">Functions</span>
<span class='fraction'>{{covered}}/{{total}}</span>
<span class="fraction">{{covered}}/{{total}}</span>
</div>
{{/with}}
{{#with metrics.lines}}
<div class='fl pad1y space-right2'>
<span class="strong">{{pct}}% </span>
<span class="quiet">Lines</span>
<span class='fraction'>{{covered}}/{{total}}</span>
<span class="fraction">{{covered}}/{{total}}</span>
</div>
{{/with}}
{{#if_has_ignores metrics}}
Expand Down

0 comments on commit 930c69a

Please sign in to comment.