Skip to content

Commit 9dae91f

Browse files
committed
Add additional test for idn-hostname
1 parent c0af60b commit 9dae91f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commonTest/kotlin/io/github/optimumcode/json/schema/assertions/general/format/JsonSchemaIdnHostnameFormatValidationTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class JsonSchemaIdnHostnameFormatValidationTest : FunSpec() {
3535
// Not normalized \u4E3D. Example from https://unicode.org/Public/UNIDATA/NormalizationTest.txt
3636
TestCase(CodePoints.toChars(0x2F800).joinToString(separator = ""), "not normalized"),
3737
TestCase("\u0628\u0669\u06F9", "mixed arabic indic digits and extended arabic indict digits"),
38+
TestCase("\u0660\u06f0", "invalid first character for RTL"),
3839
TestCase("\u0628\u0061", "invalid characters for RTL label"),
3940
TestCase("\u0628.\u06F9", "invalid first character for bidi domain names"),
4041
TestCase("\u0061\u0628", "invalid characters for LTR label"),

0 commit comments

Comments
 (0)