summaryrefslogtreecommitdiff
path: root/tests/lbaselib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-13 07:17:05 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-04-13 08:57:25 +0200
commitd251efeb37778e2ab57a3d2c80b9df621a691796 (patch)
treefe6db792a0e9a018d10983a142724fda6e17071b /tests/lbaselib.js
parenta6dc1dbf5a439a854581927fb36fdad05d0dff4b (diff)
downloadfengari-d251efeb37778e2ab57a3d2c80b9df621a691796.tar.gz
fengari-d251efeb37778e2ab57a3d2c80b9df621a691796.tar.bz2
fengari-d251efeb37778e2ab57a3d2c80b9df621a691796.zip
Table indexes are also starting at 1 internally
Since we use a Map we don't have to care about indexes starting at 0
Diffstat (limited to 'tests/lbaselib.js')
-rw-r--r--tests/lbaselib.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/lbaselib.js b/tests/lbaselib.js
index dd91449..5f39991 100644
--- a/tests/lbaselib.js
+++ b/tests/lbaselib.js
@@ -15,7 +15,6 @@ const lua = require('../src/lua.js');
const linit = require('../src/linit.js');
const CT = lua.constant_types;
-
test('print', function (t) {
let luaCode = `
print("hello", "world", 123)