Skip to content

Commit

Permalink
[Truffle] Give and use 0% for skipped results in mspec report.
Browse files Browse the repository at this point in the history
While '-' was lighter-weight and cut the noise down, the table sorter thought it was > 100%, so the sort logic was all wrong.
  • Loading branch information
nirvdrum committed Feb 27, 2015
1 parent 5c499a7 commit f2359d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/truffle/junit-frames.xsl
Expand Up @@ -671,7 +671,7 @@
<xsl:with-param name="value" select="sum($insamepackage/@skipped) div sum($insamepackage/@tests)"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>-</xsl:otherwise>
<xsl:otherwise>0%</xsl:otherwise>
</xsl:choose>
</td>
<td>
Expand Down Expand Up @@ -858,7 +858,7 @@
<xsl:with-param name="value" select="@skipped div @tests"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>-</xsl:otherwise>
<xsl:otherwise>0%</xsl:otherwise>
</xsl:choose>
</td>
<td><xsl:call-template name="display-time">
Expand Down

0 comments on commit f2359d1

Please sign in to comment.