From 4cfbf67519a45193208caa3ef55964f2d2910441 Mon Sep 17 00:00:00 2001 From: hustf Date: Thu, 2 Nov 2017 21:59:17 +0100 Subject: [PATCH] modified: test/functions_log_test.jl Reinstated print(io, Base.color_normal()) --- test/functions_log_test.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functions_log_test.jl b/test/functions_log_test.jl index 3a6eb09..54e8dd0 100644 --- a/test/functions_log_test.jl +++ b/test/functions_log_test.jl @@ -35,7 +35,7 @@ function pwc(io::IO, args...) print(io,arg) end end - print(io, :normal) + print(io, Base.color_normal) nothing end "Type piracy on dictionaries, not nice normally" @@ -55,7 +55,7 @@ function print(io::IO, headers::Dict{String, Function}) end "Add color code" -print_color(io::IO, color::Symbol) = print(io, get(Base.text_colors, color, :normal)) +print_color(io::IO, color::Symbol) = print(io, get(Base.text_colors, color, Base.color_normal)) "Return an IO stream with colored heading and tabs" function startbuf(prefix = "INFO:") buf = IOBuffer()