slachiewicz commented on code in PR #768:
URL: https://github.com/apache/maven-surefire/pull/768#discussion_r2807297972
##########
surefire-its/src/test/java/org/apache/maven/surefire/its/JUnit47RedirectOutputIT.java:
##########
@@ -46,14 +45,14 @@ public void testClassesParallel() {
}
private void checkReports(OutputValidator validator) {
- String report = StringUtils.trimToNull(validator
+ String report = validator
.getSurefireReportsFile("junit47ConsoleOutput.Test1-output.txt")
- .readFileToString());
- assertNotNull(report);
- String report2 = StringUtils.trimToNull(validator
+ .readFileToString();
+ assertTrue(report.isEmpty());
Review Comment:
`assertNotNull(StringUtils.trimToNull)` -> `assertFalse(report.isEmpty)`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]