Skip to content

Commit dc2b9bf

Browse files
laeubimarcphilipp
andauthored
Update platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java
Co-authored-by: Marc Philipp <[email protected]>
1 parent 4e7cd75 commit dc2b9bf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,11 @@ void writesXmlReportToSocket(@TempDir Path tempDirectory) throws Exception {
367367
assertThat(serverThread.join(Duration.ofSeconds(10))).isTrue();
368368

369369
// Verify XML was received
370-
assertThat(xmlContent.get()).isNotNull();
371-
assertThat(xmlContent.get()).contains("<e:events");
372-
assertThat(xmlContent.get()).contains("dummy");
373-
assertThat(xmlContent.get()).contains("Test 1");
370+
assertThat(xmlContent.get()) //
371+
.isNotNull() //
372+
.contains("<e:events") //
373+
.contains("dummy") //
374+
.contains("Test 1");
374375
}
375376
}
376377

0 commit comments

Comments
 (0)