From 50f4512c2c34e662f772002111c3d429e2ba80ab Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 15 Aug 2015 11:56:02 +0100 Subject: [PATCH] Added additional case in 'numbers' test --- test/test.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/test.lua b/test/test.lua index e2a46c2..26d019d 100644 --- a/test/test.lua +++ b/test/test.lua @@ -36,11 +36,12 @@ end test("numbers", function() local t = { - [ "123.456" ] = 123.456, - [ "-123" ] = -123, - [ "-567.765" ] = -567.765, - [ "12.3" ] = 12.3, - [ "0" ] = 0, + [ "123.456" ] = 123.456, + [ "-123" ] = -123, + [ "-567.765" ] = -567.765, + [ "12.3" ] = 12.3, + [ "0" ] = 0, + [ "0.10000000012" ] = 0.10000000012, } for k, v in pairs(t) do local res = json.decode(k)