summaryrefslogtreecommitdiff
path: root/tests/lua.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-11 08:22:22 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-04-11 08:22:22 +0200
commitbb51e9d6e41efe08f6f053599bf31245ab116b77 (patch)
tree52e6719c50fcf8124f15e24c2ed54c58fa887dfa /tests/lua.js
parent72e49b26d32423d66b68fb45e9aace9c503a1a5c (diff)
downloadfengari-bb51e9d6e41efe08f6f053599bf31245ab116b77.tar.gz
fengari-bb51e9d6e41efe08f6f053599bf31245ab116b77.tar.bz2
fengari-bb51e9d6e41efe08f6f053599bf31245ab116b77.zip
Use lua-tests fork
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");
});