Skip to content

Commit 452449d

Browse files
committed
Fix tests
1 parent 07c1d3c commit 452449d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ end
3636

3737
test("numbers", function()
3838
local t = {
39-
[ "123.456" ] = 123.456,
40-
[ "-123" ] = -123,
41-
[ "-567.765" ] = -567.765,
42-
[ "12.3" ] = 12.3,
43-
[ "0" ] = 0,
44-
[ "0.10000000012" ] = 0.10000000012,
39+
[ "123.456" ] = 123.456,
40+
[ "-123" ] = -123,
41+
[ "-567.76499999999999" ] = -567.765,
42+
[ "12.300000000000001" ] = 12.3,
43+
[ "0" ] = 0,
44+
[ "0.10000000012" ] = 0.10000000012,
4545
}
4646
for k, v in pairs(t) do
4747
local res = json.decode(k)

0 commit comments

Comments
 (0)