diff options
author | Benoit Giannangeli <giann@users.noreply.github.com> | 2017-05-22 20:06:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-22 20:06:57 +0200 |
commit | e3bdd1fea3665df28de25ed76f6399faf957179d (patch) | |
tree | 6884757b43064fa7163b54b86aa4561d185b5ca2 /tests/test-suite/errors.js | |
parent | 25e2110a5eac0a2e6c7b4d502ffbd53fc61af301 (diff) | |
parent | 8a439e5563f12335e3d35dd63b4f8cbcc25a9bd8 (diff) | |
download | fengari-e3bdd1fea3665df28de25ed76f6399faf957179d.tar.gz fengari-e3bdd1fea3665df28de25ed76f6399faf957179d.tar.bz2 fengari-e3bdd1fea3665df28de25ed76f6399faf957179d.zip |
Merge pull request #63 from daurnimator/fix-skipped-tests
Investigated + fixed some skipped tests
Diffstat (limited to 'tests/test-suite/errors.js')
-rw-r--r-- | tests/test-suite/errors.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-suite/errors.js b/tests/test-suite/errors.js index c18adeb..5980724 100644 --- a/tests/test-suite/errors.js +++ b/tests/test-suite/errors.js @@ -836,7 +836,7 @@ test("[test-suite] errors: testing line error", function (t) { }); -test("[test-suite] errors: several tests that exhaust the Lua stack", { skip: true }, function (t) { +test("[test-suite] errors: several tests that exhaust the Lua stack", function (t) { let luaCode = ` C = 0 local l = debug.getinfo(1, "l").currentline; function y () C=C+1; y() end @@ -871,9 +871,10 @@ test("[test-suite] errors: several tests that exhaust the Lua stack", { skip: tr }); -test("[test-suite] errors: error lines in stack overflow", { skip: true }, function (t) { +test("[test-suite] errors: error lines in stack overflow", function (t) { let luaCode = ` C = 0 + local l = debug.getinfo(1, "l").currentline; function y () C=C+1; y() end local l1 local function g(x) l1 = debug.getinfo(x, "l").currentline; y() @@ -950,7 +951,7 @@ test("[test-suite] errors: error in error handling", function (t) { }); -test("[test-suite] errors: too many results", { skip: true }, function (t) { +test("[test-suite] errors: too many results", function (t) { let luaCode = ` local function loop (x,y,z) return 1 + loop(x, y, z) end |