diff --git a/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java b/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java index fe6e62e422f..2c48f6feccf 100644 --- a/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java +++ b/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java @@ -80,7 +80,7 @@ void writesValidXmlReport() throws Exception { ${xmlunit.ignore} - ${xmlunit.matchesRegex([0-9a-f]{40})} + ${xmlunit.matchesRegex([0-9a-f]{40})} ${xmlunit.ignore} diff --git a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/XmlAssertions.java b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/XmlAssertions.java index b233d6c0e9e..7e098786024 100644 --- a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/XmlAssertions.java +++ b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/XmlAssertions.java @@ -34,7 +34,8 @@ static void verifyContainsExpectedStartedOpenTestReport(Path testResultsDir) { private static void verifyContent(Path xmlFile) { var expected = """ - @@ -45,6 +46,10 @@ private static void verifyContent(Path xmlFile) { ${xmlunit.ignore} ${xmlunit.ignore} + + ${xmlunit.ignore} + ${xmlunit.matchesRegex([0-9a-f]{40})} + ${xmlunit.ignore}