From: Brendan Hansen Date: Sat, 20 May 2023 05:15:04 +0000 (-0500) Subject: fixed: broken test case X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=f6602cff1e5b88be64bab14dd9fd7737c33254ee;p=onyx.git fixed: broken test case --- 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()); }