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 6f3d23e commit 8cf6158Copy full SHA for 8cf6158
stdlib/Test/src/Test.jl
@@ -223,7 +223,8 @@ struct Error <: Result
223
end
224
if test_type === :test_error || test_type === :nontest_error
225
bt_str = try # try the latest world for this, since we might have eval'd new code for show
226
- 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
227
+ Base.invokelatest(sprint, Base.show_exception_stack, Base.scrub_repl_backtrace(bt); context=stdout)
228
catch ex
229
"#=ERROR showing exception stack=# " *
230
try
0 commit comments