summaryrefslogtreecommitdiff
path: root/tests/lua.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-18 11:19:22 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-04-18 11:21:15 +0200
commit4f415e5ca594c5b60e6fa6315b69acb41273ee7e (patch)
tree625990bf30d2f07bb03063acd8e5f3c0f0eb5d5b /tests/lua.js
parent5f6d2e34f69d14c57e7f2964aa951c8dab4efc99 (diff)
downloadfengari-4f415e5ca594c5b60e6fa6315b69acb41273ee7e.tar.gz
fengari-4f415e5ca594c5b60e6fa6315b69acb41273ee7e.tar.bz2
fengari-4f415e5ca594c5b60e6fa6315b69acb41273ee7e.zip
Fixed debug.getinfo bad name lookup
Diffstat (limited to 'tests/lua.js')
-rw-r--r--tests/lua.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lua.js b/tests/lua.js
index c230dea..30a9c98 100644
--- a/tests/lua.js
+++ b/tests/lua.js
@@ -15,7 +15,7 @@ test('constructs.lua', function (t) {
return dofile("tests/lua-tests/constructs.lua")
`, L;
- t.plan(1);
+ t.plan(2);
t.doesNotThrow(function () {
@@ -27,11 +27,11 @@ test('constructs.lua', function (t) {
}, "Lua program loaded without error");
- // t.doesNotThrow(function () {
+ t.doesNotThrow(function () {
lapi.lua_call(L, 0, -1);
- // }, "Lua program ran without error");
+ }, "Lua program ran without error");
});