We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f855e4c commit 7b6065eCopy full SHA for 7b6065e
stdlib/Test/src/Test.jl
@@ -222,7 +222,8 @@ struct Error <: Result
222
end
223
if test_type === :test_error || test_type === :nontest_error
224
bt_str = try # try the latest world for this, since we might have eval'd new code for show
225
- Base.invokelatest(sprint, Base.show_exception_stack, bt; context=stdout)
+ # Apply REPL backtrace scrubbing to hide REPL internals, similar to how REPL.jl handles it
226
+ Base.invokelatest(sprint, Base.show_exception_stack, Base.scrub_repl_backtrace(bt); context=stdout)
227
catch ex
228
"#=ERROR showing exception stack=# " *
229
try
0 commit comments