summaryrefslogtreecommitdiff
path: root/tests/lbaselib.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lbaselib.js')
-rw-r--r--tests/lbaselib.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lbaselib.js b/tests/lbaselib.js
index 21d18aa..d71e3ab 100644
--- a/tests/lbaselib.js
+++ b/tests/lbaselib.js
@@ -426,19 +426,19 @@ test('select', function (t) {
}, "JS Lua program ran without error");
t.deepEqual(
- lapi.lua_topointer(L, -3).array.map(e => e.value),
+ lapi.lua_topointer(L, -3).map(e => e.value),
[3],
"Correct element(s) on the stack"
);
t.deepEqual(
- lapi.lua_topointer(L, -2).array.map(e => e.value),
+ lapi.lua_topointer(L, -2).map(e => e.value),
[2, 3],
"Correct element(s) on the stack"
);
t.deepEqual(
- lapi.lua_topointer(L, -1).array.map(e => e.value),
+ lapi.lua_topointer(L, -1).map(e => e.value),
[2, 3],
"Correct element(s) on the stack"
);