summaryrefslogtreecommitdiff
path: root/tests/lua.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lua.js')
-rw-r--r--tests/lua.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lua.js b/tests/lua.js
index d55b412..0775b3a 100644
--- a/tests/lua.js
+++ b/tests/lua.js
@@ -5,7 +5,6 @@ const test = require('tape');
const lapi = require("../src/lapi.js");
const lauxlib = require("../src/lauxlib.js");
const lua = require('../src/lua.js');
-const linit = require('../src/linit.js');
// TODO: remove
@@ -23,7 +22,7 @@ if (false) {
L = lauxlib.luaL_newstate();
- linit.luaL_openlibs(L);
+ lauxlib.luaL_openlibs(L);
lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));
@@ -51,7 +50,7 @@ if (false) {
L = lauxlib.luaL_newstate();
- linit.luaL_openlibs(L);
+ lauxlib.luaL_openlibs(L);
lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));
@@ -77,7 +76,7 @@ if (false) {
L = lauxlib.luaL_newstate();
- linit.luaL_openlibs(L);
+ lauxlib.luaL_openlibs(L);
lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));