mirror of https://github.com/rxi/json.lua.git
Added currently failing test case for `u` preceded with multiple `\` in tests
parent
d1e3b0f5d0
commit
8aa60078ca
|
@ -159,6 +159,7 @@ test("decode escape", function()
|
||||||
[ [["\\"]] ] = '\\',
|
[ [["\\"]] ] = '\\',
|
||||||
[ [["\\\\"]] ] = '\\\\',
|
[ [["\\\\"]] ] = '\\\\',
|
||||||
[ [["\/"]] ] = '/',
|
[ [["\/"]] ] = '/',
|
||||||
|
[ [["\\u \u263a"]] ] = [[\u ☺]],
|
||||||
}
|
}
|
||||||
for k, v in pairs(t) do
|
for k, v in pairs(t) do
|
||||||
local res = json.decode(k)
|
local res = json.decode(k)
|
||||||
|
|
Loading…
Reference in New Issue