diff options
author | daurnimator <quae@daurnimator.com> | 2017-12-10 02:22:47 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-12-10 02:36:36 +1100 |
commit | a946df6302452323706f715a28029c63f766d1db (patch) | |
tree | 971f4f82ecb648dc08a96e1a1a25bc7ef1598a0c /tests/ltablib.js | |
parent | fa8ba4f04623f66962c9fa2a502dd8d51a3eefa6 (diff) | |
download | fengari-a946df6302452323706f715a28029c63f766d1db.tar.gz fengari-a946df6302452323706f715a28029c63f766d1db.tar.bz2 fengari-a946df6302452323706f715a28029c63f766d1db.zip |
tests/: Fix linter complaints
Diffstat (limited to 'tests/ltablib.js')
-rw-r--r-- | tests/ltablib.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ltablib.js b/tests/ltablib.js index e2e8825..2adf1fe 100644 --- a/tests/ltablib.js +++ b/tests/ltablib.js @@ -22,7 +22,7 @@ test('table.concat', function (t) { let luaCode = ` return table.concat({1, 2, 3, 4, 5, 6, 7}, ",", 3, 5) `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -49,7 +49,7 @@ test('table.pack', function (t) { let luaCode = ` return table.pack(1, 2, 3) `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -78,7 +78,7 @@ test('table.unpack', function (t) { let luaCode = ` return table.unpack({1, 2, 3, 4, 5}, 2, 4) `, L; - + t.plan(4); t.doesNotThrow(function () { @@ -120,7 +120,7 @@ test('table.insert', function (t) { table.insert(t, 2, 2) return t `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -152,7 +152,7 @@ test('table.remove', function (t) { table.remove(t, 3) return t `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -183,7 +183,7 @@ test('table.move', function (t) { local t2 = {1, 2, nil, nil, nil, 6} return table.move(t1, 1, #t1, 3, t2) `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -214,7 +214,7 @@ test('table.sort (<)', function (t) { table.sort(t) return t `, L; - + t.plan(2); t.doesNotThrow(function () { @@ -245,7 +245,7 @@ test('table.sort with cmp function', function (t) { end) return t `, L; - + t.plan(2); t.doesNotThrow(function () { |