Skip to content

Commit

Permalink
test: add a fail-test for escaped non Unicode Scalar Values (#452)
Browse files Browse the repository at this point in the history
* test: add a fail-test for escaped non Unicode Scalar Values

* test: split multiple codepoints into 1 per file
  • Loading branch information
eugenesvk authored Dec 24, 2024
1 parent 76dc3e3 commit 3c1cf4f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_h1_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates high\u{D800}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_h2_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates high\u{D911}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_h3_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates high\u{DABB}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_h4_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates high\u{DBFF}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_l1_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates low\u{DC00}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_l2_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no "Surrogates low\u{DEAD}"
1 change: 1 addition & 0 deletions tests/test_cases/input/unicode_escaped_l3_fail.kdl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eno "Surrogates low\u{DFFF}"

0 comments on commit 3c1cf4f

Please sign in to comment.