Skip to content

Commit d40b3e6

Browse files
committed
Fix two remaining future-keywords tests in draft 4.
contains does not exist in draft 4, it was introduced in draft 6. (See https://json-schema.org/draft-06/json-schema-release-notes.html)
1 parent c23c720 commit d40b3e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/draft4/optional/future-keywords.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@
336336
"valid": true
337337
},
338338
{
339-
"description": "array without items matching schema is invalid",
339+
"description": "array without items matching schema is valid",
340340
"data": [2, 3, 4],
341-
"valid": false
341+
"valid": true
342342
},
343343
{
344-
"description": "empty array is invalid",
344+
"description": "empty array is valid",
345345
"data": [],
346-
"valid": false
346+
"valid": true
347347
},
348348
{
349349
"description": "not array is valid",

0 commit comments

Comments
 (0)