summaryrefslogtreecommitdiff
path: root/json/tests/draft4/optional/format/date-time.json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-24 15:36:42 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-24 15:36:42 +0100
commitd0b71d19bfd460cbf3abc98bacffb73f5624cc4b (patch)
tree62bdf780508b7f90f0fc620020a569794ba8ba57 /json/tests/draft4/optional/format/date-time.json
parent620677a3eda9957832859c9727140c03d606c810 (diff)
parentb5e545b0e0a3a614562293fd7755cd8d2283e8d2 (diff)
downloadjsonschema-d0b71d19bfd460cbf3abc98bacffb73f5624cc4b.tar.gz
Merge commit 'b5e545b0e0a3a614562293fd7755cd8d2283e8d2'
* commit 'b5e545b0e0a3a614562293fd7755cd8d2283e8d2': Squashed 'json/' changes from ab0b1ae71..20c1bb1d9
Diffstat (limited to 'json/tests/draft4/optional/format/date-time.json')
-rw-r--r--json/tests/draft4/optional/format/date-time.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/json/tests/draft4/optional/format/date-time.json b/json/tests/draft4/optional/format/date-time.json
index 900fcb7..5f911ef 100644
--- a/json/tests/draft4/optional/format/date-time.json
+++ b/json/tests/draft4/optional/format/date-time.json
@@ -57,6 +57,16 @@
"description": "invalid non-padded day dates",
"data": "1963-06-1T08:30:06.283185Z",
"valid": false
+ },
+ {
+ "description": "non-ascii digits should be rejected in the date portion",
+ "data": "1963-06-1৪T00:00:00Z",
+ "valid": false
+ },
+ {
+ "description": "non-ascii digits should be rejected in the time portion",
+ "data": "1963-06-11T0৪:00:00Z",
+ "valid": false
}
]
}