Added currently failing test case for u preceded with multiple \ in tests

This commit is contained in:
rxi
2020-04-05 10:31:12 +01:00
parent d1e3b0f5d0
commit 8aa60078ca

View File

@@ -159,6 +159,7 @@ test("decode escape", function()
[ [["\\"]] ] = '\\',
[ [["\\\\"]] ] = '\\\\',
[ [["\/"]] ] = '/',
[ [["\\u \u263a"]] ] = [[\u ☺]],
}
for k, v in pairs(t) do
local res = json.decode(k)