diff options
Diffstat (limited to 'tests/lcorolib.js')
-rw-r--r-- | tests/lcorolib.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lcorolib.js b/tests/lcorolib.js index f709fa5..d97e681 100644 --- a/tests/lcorolib.js +++ b/tests/lcorolib.js @@ -34,7 +34,7 @@ test('coroutine.create, coroutine.yield, coroutine.resume', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -77,7 +77,7 @@ test('coroutine.status', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -118,7 +118,7 @@ test('coroutine.isyieldable', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -159,7 +159,7 @@ test('coroutine.running', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -200,7 +200,7 @@ test('coroutine.wrap', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); |