summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-23 00:23:54 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-23 00:53:13 +1000
commit275c497e20df141160b92db6503da0b98f611bc0 (patch)
treecb4e649634afe164ce640a4b5db7a80f5850e857 /tests
parent0085399fa4b4a6e9450ab454a4ac33dd26db003e (diff)
downloadfengari-275c497e20df141160b92db6503da0b98f611bc0.tar.gz
fengari-275c497e20df141160b92db6503da0b98f611bc0.tar.bz2
fengari-275c497e20df141160b92db6503da0b98f611bc0.zip
tests/test-suite/errors.js: copy setup from previous test to get a skipped test passing
Diffstat (limited to 'tests')
-rw-r--r--tests/test-suite/errors.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-suite/errors.js b/tests/test-suite/errors.js
index 432ee35..5980724 100644
--- a/tests/test-suite/errors.js
+++ b/tests/test-suite/errors.js
@@ -871,9 +871,10 @@ test("[test-suite] errors: several tests that exhaust the Lua stack", function (
});
-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()