Skip to content

Commit

Permalink
modified: test/functions_log_test.jl Reinstated print(io, Base.color_…
Browse files Browse the repository at this point in the history
…normal())
  • Loading branch information
hustf committed Nov 2, 2017
1 parent fce40cd commit 4cfbf67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functions_log_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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()
Expand Down

0 comments on commit 4cfbf67

Please sign in to comment.