diff options
Diffstat (limited to 'tests/lbaselib.js')
-rw-r--r-- | tests/lbaselib.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lbaselib.js b/tests/lbaselib.js index 137bc2f..0a77e5b 100644 --- a/tests/lbaselib.js +++ b/tests/lbaselib.js @@ -417,19 +417,19 @@ test('select', function (t) { }, "JS Lua program ran without error"); t.deepEqual( - [...lua.lua_topointer(L, -3).entries()].map(e => e[1].value), + [...lua.lua_topointer(L, -3).strong.entries()].map(e => e[1].value.value), [3], "Correct element(s) on the stack" ); t.deepEqual( - [...lua.lua_topointer(L, -2).entries()].map(e => e[1].value).sort(), + [...lua.lua_topointer(L, -2).strong.entries()].map(e => e[1].value.value).sort(), [2, 3], "Correct element(s) on the stack" ); t.deepEqual( - [...lua.lua_topointer(L, -1).entries()].map(e => e[1].value).sort(), + [...lua.lua_topointer(L, -1).strong.entries()].map(e => e[1].value.value).sort(), [2, 3], "Correct element(s) on the stack" ); |