Skip to content

Commit 8aa6007

Browse files
committed
Added currently failing test case for u preceded with multiple \ in tests
1 parent d1e3b0f commit 8aa6007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ test("decode escape", function()
159159
[ [["\\"]] ] = '\\',
160160
[ [["\\\\"]] ] = '\\\\',
161161
[ [["\/"]] ] = '/',
162+
[ [["\\u \u263a"]] ] = [[\u ☺]],
162163
}
163164
for k, v in pairs(t) do
164165
local res = json.decode(k)

0 commit comments

Comments
 (0)