summaryrefslogtreecommitdiff
path: root/tests/manual-tests/debug-cli.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-04-02 22:44:25 +1000
committerdaurnimator <quae@daurnimator.com>2018-04-14 16:52:26 +1000
commitce9fd9bdca0caa6a33ce37a01f41593ca42ba95b (patch)
tree946b66efd1f265c9ccb143b61d6c480929267673 /tests/manual-tests/debug-cli.js
parentd67a6ab6688d315f521b3a2ebc0e018969213b21 (diff)
downloadfengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.gz
fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.bz2
fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.zip
Start moving test suite from tape => jest
Diffstat (limited to 'tests/manual-tests/debug-cli.js')
-rwxr-xr-xtests/manual-tests/debug-cli.js20
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);