From 31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Mon, 24 Apr 2017 15:11:12 +0200 Subject: Removed useless luac -l from tests --- tests/lbaselib.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'tests/lbaselib.js') diff --git a/tests/lbaselib.js b/tests/lbaselib.js index 5f39991..cc7847e 100644 --- a/tests/lbaselib.js +++ b/tests/lbaselib.js @@ -24,7 +24,7 @@ test('print', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -58,7 +58,7 @@ test('setmetatable, getmetatable', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -103,7 +103,7 @@ test('rawequal', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -149,7 +149,7 @@ test('rawset, rawget', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -196,7 +196,7 @@ test('type', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -249,7 +249,7 @@ test('error', function (t) { t.throws(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -272,7 +272,7 @@ test('error, protected', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -304,7 +304,7 @@ test('pcall', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -340,7 +340,7 @@ test('xpcall', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -382,7 +382,7 @@ test('ipairs', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -411,7 +411,7 @@ test('select', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -452,7 +452,7 @@ test('tonumber', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -499,7 +499,7 @@ test('assert', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -527,7 +527,7 @@ test('rawlen', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -574,7 +574,7 @@ test('next', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -615,7 +615,7 @@ test('pairs', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); @@ -665,7 +665,7 @@ test('pairs with __pairs', function (t) { t.doesNotThrow(function () { - let bc = toByteCode(luaCode).dataView; + let bc = toByteCode(luaCode); L = lauxlib.luaL_newstate(); -- cgit v1.2.3-54-g00ecf