summaryrefslogtreecommitdiff
path: root/tests/manual-tests/lua-cli.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 21:47:54 +1000
committerBenoit Giannangeli <giann008@gmail.com>2017-04-26 14:00:02 +0200
commit6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2 (patch)
treed60c55ad8a4621f1a339e6f240675bd32059b347 /tests/manual-tests/lua-cli.js
parentf93607f954c002b251fba4e0b85493e0b2b619b4 (diff)
downloadfengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.gz
fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.bz2
fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.zip
Export luaL_openlibs from lauxlib.js
Diffstat (limited to 'tests/manual-tests/lua-cli.js')
-rwxr-xr-xtests/manual-tests/lua-cli.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual-tests/lua-cli.js b/tests/manual-tests/lua-cli.js
index 468395f..34b6232 100755
--- a/tests/manual-tests/lua-cli.js
+++ b/tests/manual-tests/lua-cli.js
@@ -3,7 +3,6 @@
const lua = require('../../src/lua.js');
const lauxlib = require('../../src/lauxlib.js');
-const linit = require('../../src/linit.js');
const fs = require('fs');
const readlineSync = require('readline-sync');
@@ -141,7 +140,7 @@ if (has_E) {
}
/* open standard libraries */
-linit.luaL_openlibs(L);
+lauxlib.luaL_openlibs(L);
/* create table 'arg' */
lua.lua_createtable(L, process.argv.length - (script + 1), script + 1);