Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-33385] Testresult doesn't show test name in case the package is
empty

Use a better XSL test condition
  • Loading branch information
Jonathan Miller committed Apr 25, 2018
1 parent b0e9250 commit 8656468
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ THE SOFTWARE.

<xsl:variable name="testMethodName">
<xsl:choose>
<xsl:when test="contains(@name, '.')">
<xsl:when test="starts-with(@name, @type)">
<xsl:value-of select="substring(@name, string-length(@type)+2)"/>
</xsl:when>
<xsl:otherwise>
Expand Down

0 comments on commit 8656468

Please sign in to comment.