aboutsummaryrefslogtreecommitdiff
path: root/tests/test-suite/inprogress
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-06-16 11:00:16 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-06-16 11:00:16 +0200
commitcad0eac50b70a280611dd89440a805912ebfad8b (patch)
treeef1946cd0da4e3c4acfd5f0032ddae6f36c5d76b /tests/test-suite/inprogress
parent1f501616500ee308da6b88e2ecef4bf19490d1ee (diff)
downloadfengari-cad0eac50b70a280611dd89440a805912ebfad8b.tar.gz
fengari-cad0eac50b70a280611dd89440a805912ebfad8b.tar.bz2
fengari-cad0eac50b70a280611dd89440a805912ebfad8b.zip
packnum: num can be 32 bits
Diffstat (limited to 'tests/test-suite/inprogress')
-rw-r--r--tests/test-suite/inprogress/tpack.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-suite/inprogress/tpack.js b/tests/test-suite/inprogress/tpack.js
index f081edb..5b70410 100644
--- a/tests/test-suite/inprogress/tpack.js
+++ b/tests/test-suite/inprogress/tpack.js
@@ -400,9 +400,8 @@ test("[test-suite] tpack: overflow in packing)", function (t) {
});
-test("[test-suite] tpack: Lua integer size)", function (t) {
+test("[test-suite] tpack: Lua integer size", function (t) {
let luaCode = `
- for i = 1, sizeLI - 1 do
assert(unpack(">j", pack(">j", math.maxinteger)) == math.maxinteger)
assert(unpack("<j", pack("<j", math.mininteger)) == math.mininteger)
assert(unpack("<J", pack("<j", -1)) == -1) -- maximum unsigned integer