diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-05-09 16:15:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 16:15:56 -0500 |
commit | 8a54e5e0b6808a3192ec342b60e36b4325c47f02 (patch) | |
tree | 88a818734b16170ebd90176bb0e83fada510a5f7 /test-suite | |
parent | 44bec613697e884df64634536554c611d3135b3b (diff) | |
parent | 264d828654ff323595e28c8a1f08214481f40f9c (diff) | |
download | milf-rs-8a54e5e0b6808a3192ec342b60e36b4325c47f02.tar.gz milf-rs-8a54e5e0b6808a3192ec342b60e36b4325c47f02.zip |
Merge pull request #241 from avdv/fix-240
Treat unicode hex digits case-insensitively
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/tests/valid/unicode-escape.json | 5 | ||||
-rw-r--r-- | test-suite/tests/valid/unicode-escape.toml | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test-suite/tests/valid/unicode-escape.json b/test-suite/tests/valid/unicode-escape.json index 32948c6..06fae70 100644 --- a/test-suite/tests/valid/unicode-escape.json +++ b/test-suite/tests/valid/unicode-escape.json @@ -1,5 +1,8 @@ { "answer1": {"type": "string", "value": "\u000B"}, "answer4": {"type": "string", "value": "\u03B4α"}, - "answer8": {"type": "string", "value": "\u03B4β"} + "answer8": {"type": "string", "value": "\u03B4β"}, + "answer9": {"type": "string", "value": "\uc0de"}, + "answer10": {"type": "string", "value": "\u03B4α"}, + "answer11": {"type": "string", "value": "\uABC1"} } diff --git a/test-suite/tests/valid/unicode-escape.toml b/test-suite/tests/valid/unicode-escape.toml index c0d5a25..6654252 100644 --- a/test-suite/tests/valid/unicode-escape.toml +++ b/test-suite/tests/valid/unicode-escape.toml @@ -1,3 +1,6 @@ answer1 = "\u000B" answer4 = "\u03B4α" answer8 = "\U000003B4β" +answer9 = "\uc0de" +answer10 = "\u03b4α" +answer11 = "\U0000abc1" |