diff options
Diffstat (limited to 'test/json.c')
-rw-r--r-- | test/json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/json.c b/test/json.c index 74fd20d748..d624f61cca 100644 --- a/test/json.c +++ b/test/json.c @@ -40,7 +40,8 @@ static const struct entry entries[] = { { "abc", .expect_fail = true}, { " 123 ", "123", NODE_INT64(123)}, { "123.25", "123.250000", NODE_FLOAT(123.25)}, - { TEXT("a\n\\"), TEXT("a\u000a\u005c"), NODE_STR("a\n\\")}, + { TEXT("a\n\\\/\\\""), TEXT("a\n\\/\\\""), NODE_STR("a\n\\/\\\"")}, + { TEXT("a\u2c29"), TEXT("aⰩ"), NODE_STR("a\342\260\251")}, { "[1,2,3]", "[1,2,3]", NODE_ARRAY(NODE_INT64(1), NODE_INT64(2), NODE_INT64(3))}, { "[ ]", "[]", NODE_ARRAY()}, |