Skip to content

Commit 02a0d89

Browse files
authored
Merge pull request #743 from Vinit-Pandit/MeastroZI-patch-1
Update unevaluatedProperties.json
2 parents 7e97001 + c1545e6 commit 02a0d89

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)