diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-24 09:17:59 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-24 10:20:05 +0100 |
commit | 4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf (patch) | |
tree | 6e872cf184e06820a96597d5fd35ee1ef534afd9 /tests/tests.js | |
parent | ae4e53e2e7234a167058199085921a9182e8522a (diff) | |
download | fengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.tar.gz fengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.tar.bz2 fengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.zip |
Travis
Diffstat (limited to 'tests/tests.js')
-rw-r--r-- | tests/tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests.js b/tests/tests.js index a9f8730..0963159 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -16,8 +16,8 @@ const toByteCode = function (luaCode) { fs.writeSync(luaFile.fd, luaCode); - child_process.execSync(`luac-5.3 -o ${luaFile.name}.bc ${luaFile.name}`); - child_process.execSync(`luac-5.3 -l ${luaFile.name} > ${luaFile.name}.bc.txt`); + child_process.execSync(`luac -o ${luaFile.name}.bc ${luaFile.name}`); + child_process.execSync(`luac -l ${luaFile.name} > ${luaFile.name}.bc.txt`); bclist = fs.readFileSync(`${luaFile.name}.bc.txt`, 'utf8'); |