From a5146b2ef6aceab97d4d1d02895a74f15b7a7a78 Mon Sep 17 00:00:00 2001 From: Andrea Marco Sartori Date: Tue, 8 Nov 2022 22:09:06 +1000 Subject: [PATCH] Add checks for unicode characters --- tests/fixtures/parsing/array.json | 2 +- tests/fixtures/parsing/array.php | 2 +- tests/fixtures/parsing/object.json | 1 + tests/fixtures/parsing/object.php | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/fixtures/parsing/array.json b/tests/fixtures/parsing/array.json index ca7e149..67cb839 100644 --- a/tests/fixtures/parsing/array.json +++ b/tests/fixtures/parsing/array.json @@ -1 +1 @@ -[1, "", "foo", "\"bar\"", 3.14, false, null, [], {}] +[1, "", "foo", "\"bar\"", "hej då", 3.14, false, null, [], {}] diff --git a/tests/fixtures/parsing/array.php b/tests/fixtures/parsing/array.php index c7380fb..4288667 100644 --- a/tests/fixtures/parsing/array.php +++ b/tests/fixtures/parsing/array.php @@ -1,3 +1,3 @@ 'foo', 'escaped_string' => '"bar"', '"escaped_key"' => 'baz', + "unicode" => "hej då", 'float' => 3.14, 'bool' => false, 'null' => null,