Skip to content

Commit 91ecacf

Browse files
committed
Forward port a missing null instance property test.
1 parent fe3eda2 commit 91ecacf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/draft-next/unevaluatedProperties.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,5 +1392,20 @@
13921392
"valid": true
13931393
}
13941394
]
1395+
},
1396+
{
1397+
"description": "unevaluatedProperties with null valued instance properties",
1398+
"schema": {
1399+
"unevaluatedProperties": {
1400+
"type": "null"
1401+
}
1402+
},
1403+
"tests": [
1404+
{
1405+
"description": "allows null valued properties",
1406+
"data": {"foo": null},
1407+
"valid": true
1408+
}
1409+
]
13951410
}
13961411
]

0 commit comments

Comments
 (0)