Tibor17 commented on a change in pull request #249: Surefire-1701: Fix
@DisplayName breaking reruns
URL: https://github.com/apache/maven-surefire/pull/249#discussion_r338595339
##########
File path:
surefire-providers/surefire-junit-platform/src/test/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProviderTest.java
##########
@@ -220,6 +228,13 @@ public void rerunStillFailing()
assertEquals( 0, summary.getTestsSucceededCount() );
assertEquals( 0, summary.getTestsAbortedCount() );
assertEquals( 3, summary.getTestsFailedCount() );
+ failDisplays.clear();
+ for ( TestExecutionSummary.Failure failure : summary.getFailures() )
Review comment:
Pls use brackets. We will use the checkstyle on tests which would fail the
build if you do not type brackets. Thx
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services