summaryrefslogtreecommitdiff
path: root/tests/tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.js')
-rw-r--r--tests/tests.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tests.js b/tests/tests.js
index d4173c3..32f6563 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -35,8 +35,7 @@ const getState = function(luaCode) {
let L = lauxlib.luaL_newstate();
- let p = new BytecodeParser(dv);
- let cl = p.luaU_undump(L);
+ let p = new BytecodeParser(L, dv).luaU_undump();
return L;
};