Skip to content

Commit 3faeb22

Browse files
add time test 'contains letters'
1 parent 642441f commit 3faeb22

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
@@ -205,6 +205,11 @@
205205
"description": "offset not starting with plus or minus",
206206
"data": "08:30:06#00:20",
207207
"valid": false
208+
},
209+
{
210+
"description": "contains letters",
211+
"data": "ab:cd:ef",
212+
"valid": false
208213
}
209214
]
210215
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@
205205
"description": "offset not starting with plus or minus",
206206
"data": "08:30:06#00:20",
207207
"valid": false
208+
},
209+
{
210+
"description": "contains letters",
211+
"data": "ab:cd:ef",
212+
"valid": false
208213
}
209214
]
210215
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@
205205
"description": "offset not starting with plus or minus",
206206
"data": "08:30:06#00:20",
207207
"valid": false
208+
},
209+
{
210+
"description": "contains letters",
211+
"data": "ab:cd:ef",
212+
"valid": false
208213
}
209214
]
210215
}

tests/draft7/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@
202202
"description": "offset not starting with plus or minus",
203203
"data": "08:30:06#00:20",
204204
"valid": false
205+
},
206+
{
207+
"description": "contains letters",
208+
"data": "ab:cd:ef",
209+
"valid": false
205210
}
206211
]
207212
}

0 commit comments

Comments
 (0)