summaryrefslogtreecommitdiff
path: root/tests/lua.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lua.js')
-rw-r--r--tests/lua.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lua.js b/tests/lua.js
index 04b8250..43e82bc 100644
--- a/tests/lua.js
+++ b/tests/lua.js
@@ -7,12 +7,12 @@ const lauxlib = require("../src/lauxlib.js");
const lua = require('../src/lua.js');
const linit = require('../src/linit.js');
-test('string.lua', function (t) {
+test('strings.lua', function (t) {
let luaCode = `
- return dofile("tests/single.lua")
+ return dofile("tests/lua-tests/strings.lua")
`, L;
- t.plan(1);
+ t.plan(2);
t.doesNotThrow(function () {
@@ -24,10 +24,10 @@ test('string.lua', function (t) {
}, "Lua program loaded without error");
- // t.doesNotThrow(function () {
+ t.doesNotThrow(function () {
lapi.lua_call(L, 0, -1);
- // }, "Lua program ran without error");
+ }, "Lua program ran without error");
});