Skip to content

Commit 3097119

Browse files
committed
Merge branch 'JsonSchemaDraft4Test.id' of github.com:simbo1905/java.util.json.Java21 into JsonSchemaDraft4Test.id
2 parents 327d4fc + df27bbf commit 3097119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json-java21-schema/src/test/java/io/github/simbo1905/json/schema/JsonSchemaDraft4Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ public Stream<DynamicTest> testId() throws JsonProcessingException {
8686
try {
8787
Assertions.assertEquals(expected, actual);
8888
} catch (AssertionError e) {
89-
LOG.fine(() -> "Assertion failed: " + groupDesc + " — expected=" + expected + ", actual=" + actual + " (" + ((Path) null).getFileName() + ")");
89+
LOG.fine(() -> "Assertion failed: " + groupDesc + " — expected=" + expected + ", actual=" + actual + " (JsonSchemaDraft4Test.java)");
9090
throw e;
9191
}
9292

9393
}));
9494
} catch (Exception ex) {
9595
/// Unsupported schema for this group; emit a single skipped test for visibility
9696
final var reason = ex.getMessage() == null ? ex.getClass().getSimpleName() : ex.getMessage();
97-
LOG.fine(()->"Skipping group due to unsupported schema: " + groupDesc + " — " + reason + " (" + ((Path) null).getFileName() + ")");
97+
LOG.fine(()->"Skipping group due to unsupported schema: " + groupDesc + " — " + reason + " (JsonSchemaDraft4Test.java)");
9898

9999
return Stream.of(DynamicTest.dynamicTest(groupDesc + " – SKIPPED: " + reason, () -> {
100100
if (JsonSchemaDraft4Test.isStrict()) throw ex;

0 commit comments

Comments
 (0)