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 aba3834 commit 9a82567Copy full SHA for 9a82567
stdlib/Test/src/Test.jl
@@ -230,7 +230,8 @@ struct Error <: Result
230
end
231
if test_type === :test_error || test_type === :nontest_error
232
bt_str = try # try the latest world for this, since we might have eval'd new code for show
233
- 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
234
+ Base.invokelatest(sprint, Base.show_exception_stack, Base.scrub_repl_backtrace(bt); context=stdout)
235
catch ex
236
"#=ERROR showing exception stack=# " *
237
try
0 commit comments