From 275c497e20df141160b92db6503da0b98f611bc0 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 23 May 2017 00:23:54 +1000 Subject: tests/test-suite/errors.js: copy setup from previous test to get a skipped test passing --- tests/test-suite/errors.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test-suite') 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() -- cgit v1.2.3-54-g00ecf