diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 21:47:54 +1000 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-26 14:00:02 +0200 |
commit | 6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2 (patch) | |
tree | d60c55ad8a4621f1a339e6f240675bd32059b347 /tests/lua.js | |
parent | f93607f954c002b251fba4e0b85493e0b2b619b4 (diff) | |
download | fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.gz fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.tar.bz2 fengari-6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2.zip |
Export luaL_openlibs from lauxlib.js
Diffstat (limited to 'tests/lua.js')
-rw-r--r-- | tests/lua.js | 7 |
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)); |