mirror of
https://github.com/TangentFoxy/rxi-json.lua.git
synced 2025-07-27 18:42:17 +00:00
Fixed test for Lua5.1 - can't use %s format spec with table
This commit is contained in:
@@ -194,7 +194,7 @@ test("encode invalid", function()
|
||||
}
|
||||
for i, v in ipairs(t) do
|
||||
local status, res = pcall(json.encode, v)
|
||||
assert( not status, fmt("encoding '%s' did not result in an error", v) )
|
||||
assert( not status, fmt("encoding idx %d did not result in an error", i) )
|
||||
end
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user