Skip to content

Commit c1545e6

Browse files
Vinit-Panditjdesrosiers
authored andcommitted
Update unevaluatedProperties.json
#723 think removing the bar matches the test with the description, as foo itself is evaluated.
1 parent 7e97001 commit c1545e6

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

tests/draft-next/unevaluatedProperties.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,17 +528,15 @@
528528
{
529529
"description": "when if is true and has no unevaluated properties",
530530
"data": {
531-
"foo": "then",
532-
"bar": "bar"
531+
"foo": "then"
533532
},
534-
"valid": false
533+
"valid": true
535534
},
536535
{
537536
"description": "when if is true and has unevaluated properties",
538537
"data": {
539538
"foo": "then",
540-
"bar": "bar",
541-
"baz": "baz"
539+
"bar": "bar"
542540
},
543541
"valid": false
544542
},

tests/draft2019-09/unevaluatedProperties.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,17 +528,15 @@
528528
{
529529
"description": "when if is true and has no unevaluated properties",
530530
"data": {
531-
"foo": "then",
532-
"bar": "bar"
531+
"foo": "then"
533532
},
534-
"valid": false
533+
"valid": true
535534
},
536535
{
537536
"description": "when if is true and has unevaluated properties",
538537
"data": {
539538
"foo": "then",
540-
"bar": "bar",
541-
"baz": "baz"
539+
"bar": "bar"
542540
},
543541
"valid": false
544542
},

tests/draft2020-12/unevaluatedProperties.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,17 +535,15 @@
535535
{
536536
"description": "when if is true and has no unevaluated properties",
537537
"data": {
538-
"foo": "then",
539-
"bar": "bar"
538+
"foo": "then"
540539
},
541-
"valid": false
540+
"valid": true
542541
},
543542
{
544543
"description": "when if is true and has unevaluated properties",
545544
"data": {
546545
"foo": "then",
547-
"bar": "bar",
548-
"baz": "baz"
546+
"bar": "bar"
549547
},
550548
"valid": false
551549
},

0 commit comments

Comments
 (0)