Skip to content

Commit cc52997

Browse files
author
Matt Allan
committed
Test required ignores non objects
1 parent 27ed651 commit cc52997

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/draft4/required.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"description": "non-present required property is invalid",
1919
"data": {"bar": 1},
2020
"valid": false
21+
},
22+
{
23+
"description": "ignores non-objects",
24+
"data": 12,
25+
"valid": true
2126
}
2227
]
2328
},

0 commit comments

Comments
 (0)