Skip to content

Commit dd4538e

Browse files
Test time format 'offset not starting with plus or minus'
1 parent 38ea151 commit dd4538e

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@
200200
"description": "invalid non-ASCII '২' (a Bengali 2)",
201201
"data": "1২:00:00Z",
202202
"valid": false
203+
},
204+
{
205+
"description": "offset not starting with plus or minus",
206+
"data": "08:30:06#00:20",
207+
"valid": false
203208
}
204209
]
205210
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@
200200
"description": "invalid non-ASCII '২' (a Bengali 2)",
201201
"data": "1২:00:00Z",
202202
"valid": false
203+
},
204+
{
205+
"description": "offset not starting with plus or minus",
206+
"data": "08:30:06#00:20",
207+
"valid": false
203208
}
204209
]
205210
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@
200200
"description": "invalid non-ASCII '২' (a Bengali 2)",
201201
"data": "1২:00:00Z",
202202
"valid": false
203+
},
204+
{
205+
"description": "offset not starting with plus or minus",
206+
"data": "08:30:06#00:20",
207+
"valid": false
203208
}
204209
]
205210
}

tests/draft7/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
"description": "invalid non-ASCII '২' (a Bengali 2)",
198198
"data": "1২:00:00Z",
199199
"valid": false
200+
},
201+
{
202+
"description": "offset not starting with plus or minus",
203+
"data": "08:30:06#00:20",
204+
"valid": false
200205
}
201206
]
202207
}

0 commit comments

Comments
 (0)