Skip to content

Commit

Permalink
Fix outdated usage of scrubbing for log test failures (JuliaLang/juli…
Browse files Browse the repository at this point in the history
  • Loading branch information
serenity4 committed Aug 2, 2023
1 parent ea256bc commit ca8461f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function record(ts::DefaultTestSet, t::LogTestFailure)
if TESTSET_PRINT_ENABLE[]
printstyled(ts.description, ": ", color=:white)
print(t)
Base.show_backtrace(stdout, scrub_backtrace(backtrace()))
Base.show_backtrace(stdout, scrub_backtrace(backtrace(), ts.file, extract_file(t.source)))
println()
end
# Hack: convert to `Fail` so that test summarization works correctly
Expand Down

0 comments on commit ca8461f

Please sign in to comment.