projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1be2c
)
fixed: broken test case
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Sat, 20 May 2023 05:15:04 +0000
(
00:15
-0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Sat, 20 May 2023 05:15:04 +0000
(
00:15
-0500)
tests/json_test.onyx
patch
|
blob
|
history
diff --git
a/tests/json_test.onyx
b/tests/json_test.onyx
index 72754c822bb7f75876b7b6ce25180bc81891cca0..403208384f77ad191a26a242abed4746ed06f53c 100644
(file)
--- 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());
}