aboutsummaryrefslogtreecommitdiff
path: root/tests/valid
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-04-12 23:05:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-04-12 23:05:40 -0700
commitef60313a5db3adc5cd5cc5d15fa6008aea34ca4e (patch)
tree183af102095ec48551fadd0eb18e4ea2bcca190d /tests/valid
parentb25592c2386f415cbe34c1c08defce6f452e66ff (diff)
parent6426b02d3ddce39a2a3c2b34a0292b2d980e64ab (diff)
downloadmilf-rs-ef60313a5db3adc5cd5cc5d15fa6008aea34ca4e.tar.gz
milf-rs-ef60313a5db3adc5cd5cc5d15fa6008aea34ca4e.zip
Merge pull request #93 from trlim/master
Fix wrong handling of unicode escape code
Diffstat (limited to 'tests/valid')
-rw-r--r--tests/valid/unicode-escape.json4
-rw-r--r--tests/valid/unicode-escape.toml4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/valid/unicode-escape.json b/tests/valid/unicode-escape.json
index 216f8f7..8c09dc0 100644
--- a/tests/valid/unicode-escape.json
+++ b/tests/valid/unicode-escape.json
@@ -1,4 +1,4 @@
{
- "answer4": {"type": "string", "value": "\u03B4"},
- "answer8": {"type": "string", "value": "\u03B4"}
+ "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 82faecb..20198f4 100644
--- a/tests/valid/unicode-escape.toml
+++ b/tests/valid/unicode-escape.toml
@@ -1,2 +1,2 @@
-answer4 = "\u03B4"
-answer8 = "\U000003B4"
+answer4 = "\u03B4α"
+answer8 = "\U000003B4β"