diff options
Diffstat (limited to 'json/tests/draft2020-12/contains.json')
-rw-r--r-- | json/tests/draft2020-12/contains.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft2020-12/contains.json b/json/tests/draft2020-12/contains.json index 215da98..a6add6b 100644 --- a/json/tests/draft2020-12/contains.json +++ b/json/tests/draft2020-12/contains.json @@ -146,5 +146,20 @@ "valid": false } ] + }, + { + "description": "contains should properly handle null data", + "schema": { + "contains": { + "type": "null" + } + }, + "tests": [ + { + "description": "null items allowed", + "data": [ null ], + "valid": true + } + ] } ] |