Skip to content

Commit 57359b6

Browse files
authored
make line shorter
1 parent bc0da73 commit 57359b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ end
398398

399399
let
400400
io = IOBuffer()
401-
Base.showerror(io, Test.TestSetException(1,2,3,4,Vector{Union{Base.Test.Error, Base.Test.Fail}}()), backtrace())
401+
exc = Test.TestSetException(1,2,3,4,Vector{Union{Base.Test.Error, Base.Test.Fail}}())
402+
Base.showerror(io, exc, backtrace())
402403
@test !contains(String(take!(io)), "backtrace()")
403404
end

0 commit comments

Comments
 (0)