summaryrefslogtreecommitdiff
path: root/tests/loslib.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/loslib.js')
-rw-r--r--tests/loslib.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/loslib.js b/tests/loslib.js
index 00ee019..968a338 100644
--- a/tests/loslib.js
+++ b/tests/loslib.js
@@ -4,7 +4,6 @@ const test = require('tape');
const lauxlib = require("../src/lauxlib.js");
const lua = require('../src/lua.js');
-const linit = require('../src/linit.js');
test('os.time', function (t) {
let luaCode = `
@@ -17,7 +16,7 @@ test('os.time', function (t) {
L = lauxlib.luaL_newstate();
- linit.luaL_openlibs(L);
+ lauxlib.luaL_openlibs(L);
lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));