diff options
author | Alan Du <alanhdu@gmail.com> | 2017-05-30 23:49:26 +0100 |
---|---|---|
committer | Alan Du <alanhdu@gmail.com> | 2017-05-30 23:55:09 +0100 |
commit | f98d6ccd70850708ca9d7fc98c561556148b397d (patch) | |
tree | 4710364895c56e9fa52a88fa3f20880b7891e664 /tests/valid | |
parent | a40a2cb389b97844e3ebd615f53273be0c004edd (diff) | |
download | milf-rs-f98d6ccd70850708ca9d7fc98c561556148b397d.tar.gz milf-rs-f98d6ccd70850708ca9d7fc98c561556148b397d.zip |
Encode control characters with hex not decimal
Fix https://github.com/alexcrichton/toml-rs/issues/178
Diffstat (limited to 'tests/valid')
-rw-r--r-- | tests/valid/unicode-escape.json | 1 | ||||
-rw-r--r-- | tests/valid/unicode-escape.toml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/valid/unicode-escape.json b/tests/valid/unicode-escape.json index 8c09dc0..32948c6 100644 --- a/tests/valid/unicode-escape.json +++ b/tests/valid/unicode-escape.json @@ -1,4 +1,5 @@ { + "answer1": {"type": "string", "value": "\u000B"}, "answer4": {"type": "string", "value": "\u03B4α"}, "answer8": {"type": "string", "value": "\u03B4β"} } diff --git a/tests/valid/unicode-escape.toml b/tests/valid/unicode-escape.toml index 20198f4..c0d5a25 100644 --- a/tests/valid/unicode-escape.toml +++ b/tests/valid/unicode-escape.toml @@ -1,2 +1,3 @@ +answer1 = "\u000B" answer4 = "\u03B4α" answer8 = "\U000003B4β" |