mirror of https://github.com/rxi/json.lua.git
Added additional case in 'numbers' test
parent
9beca8a5bd
commit
50f4512c2c
|
@ -41,6 +41,7 @@ test("numbers", function()
|
||||||
[ "-567.765" ] = -567.765,
|
[ "-567.765" ] = -567.765,
|
||||||
[ "12.3" ] = 12.3,
|
[ "12.3" ] = 12.3,
|
||||||
[ "0" ] = 0,
|
[ "0" ] = 0,
|
||||||
|
[ "0.10000000012" ] = 0.10000000012,
|
||||||
}
|
}
|
||||||
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