diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-20 12:20:24 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-20 16:56:22 +0200 |
commit | 4512e064eac90fa8193329fdd78a873bc0cf2b5e (patch) | |
tree | a19c08ed0341b52ae640af81d1a923d52a2b48b3 /tests/manual-tests/debug-cli.js | |
parent | cc5664dc1fca1d726c744165393d7137eea7bd83 (diff) | |
parent | d8e0d9fdde537bbafb244a60ebaa40b647481a5f (diff) | |
download | fengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.tar.gz fengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.tar.bz2 fengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.zip |
Merge branch 'master' of https://github.com/fengari-lua/fengari into test-suite
Diffstat (limited to 'tests/manual-tests/debug-cli.js')
-rwxr-xr-x[-rw-r--r--] | tests/manual-tests/debug-cli.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/manual-tests/debug-cli.js b/tests/manual-tests/debug-cli.js index 0bedf50..5fba8e5 100644..100755 --- a/tests/manual-tests/debug-cli.js +++ b/tests/manual-tests/debug-cli.js @@ -1,5 +1,8 @@ +#!/usr/bin/env node "use strict"; +global.WEB = false; + const lua = require('../../src/lua.js'); const lauxlib = require('../../src/lauxlib.js'); const lualib = require('../../src/lualib.js'); @@ -15,4 +18,4 @@ lualib.luaL_openlibs(L); lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode)); -lua.lua_call(L, 0, -1); +lua.lua_call(L, 0, 0); |