diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 15:11:12 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 15:11:12 +0200 |
commit | 31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885 (patch) | |
tree | 18fae5b71f40278e64ac8733827d2bea7e58d588 /tests/ltm.js | |
parent | b9f9cde1c18ace3930be4cb7f6d9527178544d8b (diff) | |
download | fengari-31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885.tar.gz fengari-31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885.tar.bz2 fengari-31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885.zip |
Removed useless luac -l from tests
Diffstat (limited to 'tests/ltm.js')
-rw-r--r-- | tests/ltm.js | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/ltm.js b/tests/ltm.js index 501b062..92be806 100644 --- a/tests/ltm.js +++ b/tests/ltm.js @@ -26,7 +26,7 @@ test('__index, __newindex: with actual table', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -60,7 +60,7 @@ test('__newindex: with non table', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -95,7 +95,7 @@ test('__index function in metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -139,7 +139,7 @@ test('__newindex function in metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -181,7 +181,7 @@ test('__index table in metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -226,7 +226,7 @@ test('__newindex table in metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -282,7 +282,7 @@ test('__index table with own metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -337,7 +337,7 @@ test('__newindex table with own metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -440,7 +440,7 @@ test('binary __xxx functions in metatable', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -494,7 +494,7 @@ test('__eq', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -534,7 +534,7 @@ test('__lt', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -574,7 +574,7 @@ test('__le', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -614,7 +614,7 @@ test('__le that uses __lt', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -658,7 +658,7 @@ test('__unm, __bnot', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -705,7 +705,7 @@ test('__len', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -746,7 +746,7 @@ test('__concat', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -787,7 +787,7 @@ test('__call', function (t) { t.comment("Running following code: \n" + luaCode); t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); |