Skip to content

Commit

Permalink
remove some sysouts from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erosb committed Dec 15, 2023
1 parent f69ea37 commit 9dabf6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public void loadTheSameCombinedSeveralTimes() {
Schema s0 = SchemaLoader.load(json);
Schema s1 = SchemaLoader.load(json);

System.out.println("Iter: " + i + ", equals=" + Objects.equals(s0, s1));

if (i > 10) {
assertEquals(s0, s1);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ public void testMaybeWithFnMiss() {
public void idHandling() {
JSONObject schema = RAW_OBJECTS.getJSONObject("idInRoot");
URI actual = withLs(JsonValue.of(schema)).ls.id;
System.out.println(actual);
assertEquals(schema.get("id"), actual.toString());
}

Expand All @@ -144,11 +143,11 @@ public void nestedId() {
public void childForConsidersIdAttr() {
JSONObject input = TESTSCHEMAS.getJSONObject("remotePointerResolution");
JsonObject root = withLs(new JsonObject(toMap(input))).requireObject();
System.out.println("root.ls.id = " + root.ls.id);
assertEquals("http://example.org/", root.ls.id.toString());
JsonObject fc = root.require("properties").requireObject().require("folderChange").requireObject();
System.out.println("fc.ls.id = " + fc.ls.id);
assertEquals("http://example.org/folder/", fc.ls.id.toString());
JsonObject sIF = fc.require("properties").requireObject().require("schemaInFolder").requireObject();
System.out.println("sIF.ls.id = " + sIF.ls.id);
assertEquals("http://example.org/folder/", sIF.ls.id.toString());
}

@Test
Expand Down

0 comments on commit 9dabf6f

Please sign in to comment.