We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8020475 commit f464e2aCopy full SHA for f464e2a
core/src/test/java/org/everit/json/schema/loader/SchemaLoaderTest.java
@@ -174,6 +174,18 @@ public void conditionalSchemaIfThenElse() {
174
Assert.assertTrue(actual.getElseSchema().isPresent());
175
}
176
177
+ @Test
178
+ public void conditionalSchemaLoadingV4() {
179
+ Schema actual = SchemaLoader.load(get("conditionalSchemaIf"));
180
+ assertFalse(actual instanceof ConditionalSchema);
181
+ }
182
+
183
184
+ public void conditionalSchemaLoadingV6() {
185
+ Schema actual = loadAsV6(get("conditionalSchemaIf"));
186
187
188
189
@Test(expected = SchemaException.class)
190
public void invalidExclusiveMinimum() {
191
SchemaLoader.load(get("invalidExclusiveMinimum"));
0 commit comments