summaryrefslogtreecommitdiff
path: root/tests/tests.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 21:54:03 +1000
committerBenoit Giannangeli <giann008@gmail.com>2017-04-26 14:00:02 +0200
commite691ea1911cf1d070ad7c6c256ce4558e2846cc9 (patch)
tree4942424ba37fa60cd6c06fbd5f43d17ef4e3e6e0 /tests/tests.js
parent6fdfa3b88c043b124eca4f91c4d1e7e3cc7046b2 (diff)
downloadfengari-e691ea1911cf1d070ad7c6c256ce4558e2846cc9.tar.gz
fengari-e691ea1911cf1d070ad7c6c256ce4558e2846cc9.tar.bz2
fengari-e691ea1911cf1d070ad7c6c256ce4558e2846cc9.zip
Remove unused variables
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);