From 59d2bb3c3ca67c4ae514efb839325787ad715f13 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sat, 24 Jun 2017 18:05:23 +0200 Subject: [PATCH] fix spurious newlines in Base.Test printing --- base/test.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/test.jl b/base/test.jl index 83d42558d8867..da1ce64a3c94f 100644 --- a/base/test.jl +++ b/base/test.jl @@ -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