From 8aa60078ca68e7c3e8ab56075382327dc5e8c09c Mon Sep 17 00:00:00 2001 From: rxi Date: Sun, 5 Apr 2020 10:31:12 +0100 Subject: [PATCH] Added currently failing test case for `u` preceded with multiple `\` in tests --- test/test.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.lua b/test/test.lua index 734982a..e72be04 100644 --- a/test/test.lua +++ b/test/test.lua @@ -159,6 +159,7 @@ test("decode escape", function() [ [["\\"]] ] = '\\', [ [["\\\\"]] ] = '\\\\', [ [["\/"]] ] = '/', + [ [["\\u \u263a"]] ] = [[\u ☺]], } for k, v in pairs(t) do local res = json.decode(k)