From 7d3c71ca17ccc8f93f1e9d1cad75a3b9ec6bca12 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Wed, 26 Apr 2017 11:23:47 +0200 Subject: npm t runs test suite, removed t.comment --- tests/lvm.js | 58 +--------------------------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) (limited to 'tests/lvm.js') diff --git a/tests/lvm.js b/tests/lvm.js index 52736fe..ff3f505 100644 --- a/tests/lvm.js +++ b/tests/lvm.js @@ -17,8 +17,6 @@ test('LOADK, RETURN', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -41,8 +39,6 @@ test('MOVE', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -64,8 +60,6 @@ test('Binary op', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -88,8 +82,6 @@ test('Unary op, LOADBOOL', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -111,8 +103,6 @@ test('NEWTABLE', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -138,8 +128,6 @@ test('CALL', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -170,8 +158,6 @@ test('Multiple return', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -196,8 +182,6 @@ test('TAILCALL', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -222,8 +206,6 @@ test('VARARG', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -246,8 +228,6 @@ test('LE, JMP', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -270,8 +250,6 @@ test('LT', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -294,8 +272,6 @@ test('EQ', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -319,8 +295,6 @@ test('TESTSET (and)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -344,8 +318,6 @@ test('TESTSET (or)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -373,8 +345,6 @@ test('TEST (true)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -402,8 +372,6 @@ test('TEST (false)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -430,8 +398,6 @@ test('FORPREP, FORLOOP (int)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -458,8 +424,6 @@ test('FORPREP, FORLOOP (float)', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -485,8 +449,6 @@ test('SETTABLE, GETTABLE', function (t) { t.plan(3); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -523,8 +485,6 @@ test('SETUPVAL, GETUPVAL', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -550,8 +510,6 @@ test('SETTABUP, GETTABUP', function (t) { t.plan(3); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -585,8 +543,6 @@ test('SELF', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -609,8 +565,6 @@ test('SETLIST', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -637,8 +591,6 @@ test('Variable SETLIST', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -661,8 +613,6 @@ test('Long SETLIST', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -685,7 +635,7 @@ test('Long SETLIST', function (t) { // // t.plan(1); // -// t.comment("Running following code: \n" + luaCode); +// // // // t.doesNotThrow(function () { // L = getState(luaCode); @@ -725,8 +675,6 @@ test('TFORCALL, TFORLOOP', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -751,8 +699,6 @@ test('LEN', function (t) { t.plan(4); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); @@ -785,8 +731,6 @@ test('CONCAT', function (t) { t.plan(2); - t.comment("Running following code: \n" + luaCode); - t.doesNotThrow(function () { L = getState(luaCode); lua.lua_call(L, 0, -1); -- cgit v1.2.3-54-g00ecf