lib/mutant/reporter/cli/printer.rb in mutant-0.9.9 vs lib/mutant/reporter/cli/printer.rb in mutant-0.9.10
- old
+ new
@@ -43,11 +43,11 @@
abstract_method :run
private
def status_color
- success? ? Color::GREEN : Color::RED
+ success? ? Unparser::Color::GREEN : Unparser::Color::RED
end
def visit_collection(printer, collection)
collection.each do |object|
visit(printer, object)
@@ -69,10 +69,10 @@
def puts(string)
output.puts(string)
end
def colorize(color, message)
- color = Color::NONE unless tty?
+ color = Unparser::Color::NONE unless tty?
color.format(message)
end
def tty?
output.tty?