aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.js')
-rw-r--r--tests/tests.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/tests.js b/tests/tests.js
index 32efca1..6de0db3 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -6,11 +6,9 @@ const tmp = require('tmp');
const BytecodeParser = require("../src/lundump.js");
const lauxlib = require("../src/lauxlib.js");
-const VM = require("../src/lvm.js");
const toByteCode = function (luaCode) {
- var luaFile = tmp.fileSync(),
- bclist;
+ var luaFile = tmp.fileSync();
fs.writeSync(luaFile.fd, luaCode);