aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-03-12 10:23:11 +0100
committerBenoit Giannangeli <giann@users.noreply.github.com>2017-03-13 11:03:24 +0100
commit52fa5f8a97fd5322fcb110298c4ce14328074818 (patch)
treefbfb7f43039885491a87bdfc71f21a73e3dfbe25 /tests
parente96d75a87d879f7f455e4b9c6457bf6580743fa5 (diff)
downloadfengari-52fa5f8a97fd5322fcb110298c4ce14328074818.tar.gz
fengari-52fa5f8a97fd5322fcb110298c4ce14328074818.tar.bz2
fengari-52fa5f8a97fd5322fcb110298c4ce14328074818.zip
[Strings] lvm.js
Diffstat (limited to 'tests')
-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;
};