Skip to content

Commit

Permalink
fix spurious newlines in Base.Test printing
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored and KristofferC committed Jun 25, 2017
1 parent 96fca0d commit 59d2bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ struct Pass <: Result
value
end
function Base.show(io::IO, t::Pass)
print_with_color(:green, io, "Test Passed\n"; bold = true)
print_with_color(:green, io, "Test Passed"; bold = true)
if !(t.orig_expr === nothing)
print(io, " Expression: ", t.orig_expr)
print(io, "\n Expression: ", t.orig_expr)
end
if t.test_type == :test_throws
# The correct type of exception was thrown
Expand Down

0 comments on commit 59d2bb3

Please sign in to comment.