File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
core/src/test/java/org/everit/json/schema/loader Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,6 @@ public void loadTheSameCombinedSeveralTimes() {
85
85
Schema s0 = SchemaLoader .load (json );
86
86
Schema s1 = SchemaLoader .load (json );
87
87
88
- System .out .println ("Iter: " + i + ", equals=" + Objects .equals (s0 , s1 ));
89
-
90
88
if (i > 10 ) {
91
89
assertEquals (s0 , s1 );
92
90
}
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ public void testMaybeWithFnMiss() {
119
119
public void idHandling () {
120
120
JSONObject schema = RAW_OBJECTS .getJSONObject ("idInRoot" );
121
121
URI actual = withLs (JsonValue .of (schema )).ls .id ;
122
- System .out .println (actual );
123
122
assertEquals (schema .get ("id" ), actual .toString ());
124
123
}
125
124
@@ -144,11 +143,11 @@ public void nestedId() {
144
143
public void childForConsidersIdAttr () {
145
144
JSONObject input = TESTSCHEMAS .getJSONObject ("remotePointerResolution" );
146
145
JsonObject root = withLs (new JsonObject (toMap (input ))).requireObject ();
147
- System . out . println ( "root.ls.id = " + root .ls .id );
146
+ assertEquals ( "http://example.org/" , root .ls .id . toString () );
148
147
JsonObject fc = root .require ("properties" ).requireObject ().require ("folderChange" ).requireObject ();
149
- System . out . println ( "fc.ls.id = " + fc .ls .id );
148
+ assertEquals ( "http://example.org/folder/" , fc .ls .id . toString () );
150
149
JsonObject sIF = fc .require ("properties" ).requireObject ().require ("schemaInFolder" ).requireObject ();
151
- System . out . println ( "sIF.ls.id = " + sIF .ls .id );
150
+ assertEquals ( "http://example.org/folder/" , sIF .ls .id . toString () );
152
151
}
153
152
154
153
@ Test
You can’t perform that action at this time.
0 commit comments