From d26f748beaa313fee319946fb5cf1d4406f1eea4 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 17 Dec 2022 16:58:14 +0100 Subject: [PATCH] Fix tests --- test/test.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test.lua b/test/test.lua index 74470b2..f0316b0 100644 --- a/test/test.lua +++ b/test/test.lua @@ -36,12 +36,12 @@ end test("numbers", function() local t = { - [ "123.456" ] = 123.456, - [ "-123" ] = -123, - [ "-567.765" ] = -567.765, - [ "12.3" ] = 12.3, - [ "0" ] = 0, - [ "0.10000000012" ] = 0.10000000012, + [ "123.456" ] = 123.456, + [ "-123" ] = -123, + [ "-567.76499999999999" ] = -567.765, + [ "12.300000000000001" ] = 12.3, + [ "0" ] = 0, + [ "0.10000000012" ] = 0.10000000012, } for k, v in pairs(t) do local res = json.decode(k)