summaryrefslogtreecommitdiff
path: root/tests/ltablib.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ltablib.js')
-rw-r--r--tests/ltablib.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ltablib.js b/tests/ltablib.js
index 60f9abc..cb7b064 100644
--- a/tests/ltablib.js
+++ b/tests/ltablib.js
@@ -36,7 +36,7 @@ test('table.concat', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -65,7 +65,7 @@ test('table.pack', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -96,7 +96,7 @@ test('table.unpack', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -140,7 +140,7 @@ test('table.insert', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -174,7 +174,7 @@ test('table.remove', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -207,7 +207,7 @@ test('table.move', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -240,7 +240,7 @@ test('table.sort (<)', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();
@@ -273,7 +273,7 @@ test('table.sort with cmp function', function (t) {
t.doesNotThrow(function () {
- let bc = toByteCode(luaCode).dataView;
+ let bc = toByteCode(luaCode);
L = lauxlib.luaL_newstate();