From ca46ad67f398f219cf838feb10127cd0cecc72d8 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Tue, 28 Mar 2017 08:57:21 +0200 Subject: lua_strx2number --- tests/single.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/single.lua b/tests/single.lua index 6faf448..f5f63f3 100644 --- a/tests/single.lua +++ b/tests/single.lua @@ -177,13 +177,13 @@ do local nv = load("return " .. s)() assert(v == nv and math.type(v) == math.type(nv)) end - -- checkQ("\0\0\1\255\u{234}") - -- checkQ(math.maxinteger) - -- checkQ(math.mininteger) - -- checkQ(math.pi) + checkQ("\0\0\1\255\u{234}") + checkQ(math.maxinteger) + checkQ(math.mininteger) + checkQ(math.pi) checkQ(0.1) - -- checkQ(true) - -- checkQ(nil) - -- checkQ(false) - -- checkerror("no literal", string.format, "%q", {}) + checkQ(true) + checkQ(nil) + checkQ(false) + checkerror("no literal", string.format, "%q", {}) end -- cgit v1.2.3-70-g09d2