summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lua.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lua.js b/tests/lua.js
index 7a0fb9b..c230dea 100644
--- a/tests/lua.js
+++ b/tests/lua.js
@@ -10,6 +10,8 @@ const linit = require('../src/linit.js');
test('constructs.lua', function (t) {
let luaCode = `
+ _soft = true
+ require = function(lib) return _G[lib] end -- NYI
return dofile("tests/lua-tests/constructs.lua")
`, L;