Skip to content

Commit 5d2afa8

Browse files
jgraettingerJulian
authored andcommitted
More enum tests, awaiting backport.
1 parent de71322 commit 5d2afa8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/draft2019-09/enum.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@
5252
"data": {"foo":"foo", "bar":"bar"},
5353
"valid": true
5454
},
55+
{
56+
"description": "wrong foo value",
57+
"data": {"foo":"foot", "bar":"bar"},
58+
"valid": false
59+
},
60+
{
61+
"description": "wrong bar value",
62+
"data": {"foo":"foo", "bar":"bart"},
63+
"valid": false
64+
},
5565
{
5666
"description": "missing optional property is valid",
5767
"data": {"bar":"bar"},

0 commit comments

Comments
 (0)