From b688ef577a10e8b6f2cf948faaa8d1af70c7949c Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 26 Apr 2017 17:55:37 +1000 Subject: Export lapi.js functions from lua.js --- tests/loslib.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/loslib.js') diff --git a/tests/loslib.js b/tests/loslib.js index 1bb217f..00ee019 100644 --- a/tests/loslib.js +++ b/tests/loslib.js @@ -2,7 +2,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'); @@ -26,12 +25,12 @@ test('os.time', function (t) { t.doesNotThrow(function () { - lapi.lua_call(L, 0, -1); + lua.lua_call(L, 0, -1); }, "Lua program ran without error"); t.ok( - lapi.lua_isinteger(L, -1), + lua.lua_isinteger(L, -1), "Correct element(s) on the stack" ); -- cgit v1.2.3-54-g00ecf