Skip to content

Commit 96fed74

Browse files
committed
draft-04/06: updated descriptions for items/additionalItems test cases
1 parent 65c18d5 commit 96fed74

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/draft4/additionalItems.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
},
4141
"tests": [
4242
{
43-
"description": "fewer items is valid",
43+
"description": "fewer number of items present",
4444
"data": [ 1, 2 ],
4545
"valid": true
4646
},
4747
{
48-
"description": "no additional items present",
48+
"description": "equal number of items present",
4949
"data": [ 1, 2, 3 ],
5050
"valid": true
5151
},

tests/draft4/items.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"valid": true
2222
},
2323
{
24-
"description": "not array is valid",
24+
"description": "JavaScript pseudo-array is valid",
2525
"data": {
2626
"0": "invalid",
2727
"length": 1
@@ -65,7 +65,7 @@
6565
"valid": true
6666
},
6767
{
68-
"description": "not array is valid",
68+
"description": "JavaScript pseudo-array is valid",
6969
"data": {
7070
"0": "invalid",
7171
"1": "valid",

tests/draft6/additionalItems.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
},
4141
"tests": [
4242
{
43-
"description": "fewer items is valid",
43+
"description": "fewer number of items present",
4444
"data": [ 1, 2 ],
4545
"valid": true
4646
},
4747
{
48-
"description": "no additional items present",
48+
"description": "equal number of items present",
4949
"data": [ 1, 2, 3 ],
5050
"valid": true
5151
},

tests/draft6/items.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"valid": true
2222
},
2323
{
24-
"description": "not array is valid",
24+
"description": "JavaScript pseudo-array is valid",
2525
"data": {
2626
"0": "invalid",
2727
"length": 1
@@ -65,7 +65,7 @@
6565
"valid": true
6666
},
6767
{
68-
"description": "not array is valid",
68+
"description": "JavaScript pseudo-array is valid",
6969
"data": {
7070
"0": "invalid",
7171
"1": "valid",

0 commit comments

Comments
 (0)