summaryrefslogtreecommitdiff
path: root/tests/lstrlib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-08 13:34:32 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-08 13:34:32 +0200
commit3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf (patch)
tree8559ee9bb8cb71824ef5ee35449fb44c7b792e2e /tests/lstrlib.js
parent57a5514f724ee5d31ee6c008954d207da0a6f245 (diff)
downloadfengari-3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf.tar.gz
fengari-3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf.tar.bz2
fengari-3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf.zip
Fix bad integer size for string.pack/packsize
Diffstat (limited to 'tests/lstrlib.js')
-rw-r--r--tests/lstrlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lstrlib.js b/tests/lstrlib.js
index b9d630d..1012f65 100644
--- a/tests/lstrlib.js
+++ b/tests/lstrlib.js
@@ -485,7 +485,7 @@ test('string.pack/unpack/packsize', function (t) {
t.strictEqual(
lua.lua_tointeger(L, -2),
- 16,
+ 12,
"Correct element(s) on the stack"
);