summaryrefslogtreecommitdiff
path: root/tests/test-suite/errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-suite/errors.js')
-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()