mirror of
https://github.com/TangentFoxy/rxi-json.lua.git
synced 2025-07-28 02:52:17 +00:00
Added currently failing test case for u
preceded with multiple \
in tests
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user