You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/12/21 19:48:39 UTC

[maven-surefire] branch fix-report-tests updated: FIX

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch fix-report-tests
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/fix-report-tests by this push:
     new 28d3b962b FIX
28d3b962b is described below

commit 28d3b962ba44ab50ccaaf94a22263292b9a35286
Author: Michael Osipov <mi...@siemens.com>
AuthorDate: Wed Dec 21 20:48:29 2022 +0100

    FIX
---
 .../apache/maven/plugins/surefire/report/SurefireReportMojoTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportMojoTest.java b/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportMojoTest.java
index deaaceb81..548bf911d 100644
--- a/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportMojoTest.java
+++ b/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportMojoTest.java
@@ -193,10 +193,10 @@ public class SurefireReportMojoTest
         assertTrue( report.exists() );
         String htmlContent = FileUtils.fileRead( report );
 
-        int idx = htmlContent.indexOf( "<td align=\"left\"><a name=\"TC_com.shape.CircleTest.testX\"></a>testX</td>" );
+        int idx = htmlContent.indexOf( "<td align=\"left\"><a id=\"TC_com.shape.CircleTest.testX\"></a>testX</td>" );
         assertTrue( idx > 0 );
 
-        idx = htmlContent.indexOf( "<td align=\"left\"><a name=\"TC_com.shape.CircleTest.testRadius\"></a>"
+        idx = htmlContent.indexOf( "<td align=\"left\"><a id=\"TC_com.shape.CircleTest.testRadius\"></a>"
                                        + "<a href=\"#com.shape.CircleTest.testRadius\">testRadius</a>" );
         assertTrue( idx > 0 );
     }