Skip to content

Commit

Permalink
Added currently failing test case for u preceded with multiple \
Browse files Browse the repository at this point in the history
…in tests
  • Loading branch information
rxi committed Apr 5, 2020
1 parent d1e3b0f commit 8aa6007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ test("decode escape", function()
[ [["\\"]] ] = '\\',
[ [["\\\\"]] ] = '\\\\',
[ [["\/"]] ] = '/',
[ [["\\u \u263a"]] ] = [[\u ☺]],
}
for k, v in pairs(t) do
local res = json.decode(k)
Expand Down

0 comments on commit 8aa6007

Please sign in to comment.