diff options
Diffstat (limited to 'tests/manual-tests/debug-cli.js')
-rwxr-xr-x | tests/manual-tests/debug-cli.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/manual-tests/debug-cli.js b/tests/manual-tests/debug-cli.js deleted file mode 100755 index dc49a0e..0000000 --- a/tests/manual-tests/debug-cli.js +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env node -"use strict"; - -const lua = require('../../src/lua.js'); -const lauxlib = require('../../src/lauxlib.js'); -const lualib = require('../../src/lualib.js'); -const {to_luastring} = require("../../src/fengaricore.js"); - -let luaCode = ` - a = "debug me" - debug.debug() -`, L; - -L = lauxlib.luaL_newstate(); - -lualib.luaL_openlibs(L); - -lauxlib.luaL_loadstring(L, to_luastring(luaCode)); - -lua.lua_call(L, 0, 0); |