diff options
Diffstat (limited to 'tests/lapi.js')
-rw-r--r-- | tests/lapi.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lapi.js b/tests/lapi.js index c6e9c53..28f8887 100644 --- a/tests/lapi.js +++ b/tests/lapi.js @@ -378,7 +378,7 @@ test('lua_load and lua_call it', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -405,7 +405,7 @@ test('lua script reads js upvalues', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); |