aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-03-28 08:57:21 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-03-28 10:13:07 +0200
commitca46ad67f398f219cf838feb10127cd0cecc72d8 (patch)
tree54b836e0c4427896e1a004b56a45f7ea967ab26c /tests
parentc34c0ad9ea78d0a40b0aa0716d9096f961681a97 (diff)
downloadfengari-ca46ad67f398f219cf838feb10127cd0cecc72d8.tar.gz
fengari-ca46ad67f398f219cf838feb10127cd0cecc72d8.tar.bz2
fengari-ca46ad67f398f219cf838feb10127cd0cecc72d8.zip
lua_strx2number
Diffstat (limited to 'tests')
-rw-r--r--tests/single.lua16
1 files changed, 8 insertions, 8 deletions
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