From a31402ff1b4fe5abf2f398cd15d8a1963a383aa5 Mon Sep 17 00:00:00 2001 From: SD Asif Hossein Date: Sat, 17 Aug 2024 19:45:42 +0600 Subject: [PATCH] Fix bracket string bug in example traceback --- spec/examples_spec.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/examples_spec.lua b/spec/examples_spec.lua index 573afd6..658ada5 100644 --- a/spec/examples_spec.lua +++ b/spec/examples_spec.lua @@ -13,13 +13,12 @@ local function assert_example(example, expected_content) assert.are.same(expected_content, output_content) -- With Pallene Tracer tracebacks enabled - local ok, err, output_content, _ = + local ok, err, output_content, err_c = util.outputs_of_execute(string.format([[ cd %s make clean --quiet make debug --quiet - ../../pt-lua main.lua - ]], cdir)) + ../../pt-lua main.lua ]], cdir)) assert(ok, err) assert.are.same(expected_content, output_content) end