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

pull/24/head
rxi 2020-04-05 10:31:12 +01:00
parent d1e3b0f5d0
commit 8aa60078ca
1 changed files with 1 additions and 0 deletions

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)