summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/optional/format/duration.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/optional/format/duration.json')
-rw-r--r--json/tests/draft2020-12/optional/format/duration.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/json/tests/draft2020-12/optional/format/duration.json b/json/tests/draft2020-12/optional/format/duration.json
index 816ca4a..eb33dbb 100644
--- a/json/tests/draft2020-12/optional/format/duration.json
+++ b/json/tests/draft2020-12/optional/format/duration.json
@@ -87,6 +87,11 @@
"description": "weeks cannot be combined with other units",
"data": "P1Y2W",
"valid": false
+ },
+ {
+ "description": "non-ascii digits should be rejected",
+ "data": "P২Y",
+ "valid": false
}
]
}