summaryrefslogtreecommitdiff
path: root/tests/lvm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-26 11:23:47 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-04-26 11:41:21 +0200
commit7d3c71ca17ccc8f93f1e9d1cad75a3b9ec6bca12 (patch)
tree74316d132d4a2ea5360c776c4d0df1a6730203d7 /tests/lvm.js
parent4b4f1a19647ef71c3cb1eaa2cac4da7cfb12ef17 (diff)
downloadfengari-7d3c71ca17ccc8f93f1e9d1cad75a3b9ec6bca12.tar.gz
fengari-7d3c71ca17ccc8f93f1e9d1cad75a3b9ec6bca12.tar.bz2
fengari-7d3c71ca17ccc8f93f1e9d1cad75a3b9ec6bca12.zip
npm t runs test suite, removed t.comment
Diffstat (limited to 'tests/lvm.js')
-rw-r--r--tests/lvm.js58
1 files changed, 1 insertions, 57 deletions
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);