From f6602cff1e5b88be64bab14dd9fd7737c33254ee Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sat, 20 May 2023 00:15:04 -0500 Subject: [PATCH] fixed: broken test case --- tests/json_test.onyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/json_test.onyx b/tests/json_test.onyx index 72754c82..40320838 100644 --- a/tests/json_test.onyx +++ b/tests/json_test.onyx @@ -42,7 +42,7 @@ main :: () { json.set(o, "foo", json.from_any(^.{data=5})); json.encode(^core.stdio.print_writer, o); - v := json.decode_with_error("""{ "key1": "\uD83C\uDCA1", "key2": "\u264C" }"""); + v := json.decode_with_error("""{ "key1": "\\uD83C\\uDCA1", "key2": "\\u264C" }"""); core.print("\n"); core.println(v.root["key1"]->as_str()); } -- 2.25.1