From 8bd7c4f8e71243419592b469b579662b4ae86947 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 13 Aug 2015 18:37:57 +0100 Subject: [PATCH] Added more parts to the "strict decode" test --- test/test.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test.lua b/test/test.lua index 507c60a..726a4b1 100644 --- a/test/test.lua +++ b/test/test.lua @@ -97,8 +97,10 @@ test("strict decode", function() "{'x' : 1}", '{"x" : nil}', '{"x" : 0x10}', + '{"x" : 001}', + '{"x" : .1}', '{"x" : 1, }', - '[1, 2, 3, ]' + '[1, 2, 3, ]', } for i, v in ipairs(t) do local status = pcall(json.decode, v)