summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/optional/format/ipv6.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/optional/format/ipv6.json')
-rw-r--r--json/tests/draft2020-12/optional/format/ipv6.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/json/tests/draft2020-12/optional/format/ipv6.json b/json/tests/draft2020-12/optional/format/ipv6.json
index 2a08cb4..cf629c6 100644
--- a/json/tests/draft2020-12/optional/format/ipv6.json
+++ b/json/tests/draft2020-12/optional/format/ipv6.json
@@ -147,6 +147,16 @@
"description": "a long invalid ipv6, below length limit, second",
"data": "100:100:100:100:100:100:100:255.255.255.255",
"valid": false
+ },
+ {
+ "description": "non-ascii digits should be rejected",
+ "data": "1:2:3:4:5:6:7:৪",
+ "valid": false
+ },
+ {
+ "description": "non-ascii digits should be rejected in the ipv4 portion also",
+ "data": "1:2::192.16৪.0.1",
+ "valid": false
}
]
}