Skip to content

Commit b84b900

Browse files
committed
Remove 'should' from a format test which anyhow needed a clearer description.
1 parent 721397c commit b84b900

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

tests/draft-next/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

tests/draft2019-09/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

tests/draft2020-12/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

tests/draft4/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

tests/draft6/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

tests/draft7/optional/format/date-time.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@
119119
"valid": false
120120
},
121121
{
122-
"description": "non-ascii digits should be rejected in the date portion",
122+
"description": "invalid non-ASCII '৪' (a Bengali 4) in date portion",
123123
"data": "1963-06-1৪T00:00:00Z",
124124
"valid": false
125125
},
126126
{
127-
"description": "non-ascii digits should be rejected in the time portion",
127+
"description": "invalid non-ASCII '৪' (a Bengali 4) in time portion",
128128
"data": "1963-06-11T0৪:00:00Z",
129129
"valid": false
130130
}

0 commit comments

Comments
 (0)