Skip to content

Commit

Permalink
Fix bracket string bug in example traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
singul4ri7y committed Aug 17, 2024
1 parent 58da3ab commit a31402f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/examples_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a31402f

Please sign in to comment.