From 33ed55b43278eacba9cc98a66fc59322a12279df Mon Sep 17 00:00:00 2001 From: Chris Cahoon Date: Thu, 8 Jul 2010 10:49:21 -0400 Subject: [PATCH] Progress bar uses darker red and green. This brings it in line with the red and green used in other testing suites. It has the additional advantage of being more useful to people with at least my particular brand of color deficiency, which made it difficult to distinguish the lighter red and green previously used. --- lib/hydra/listener/progress_bar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hydra/listener/progress_bar.rb b/lib/hydra/listener/progress_bar.rb index cae21f9..406ba79 100644 --- a/lib/hydra/listener/progress_bar.rb +++ b/lib/hydra/listener/progress_bar.rb @@ -34,7 +34,7 @@ module Hydra #:nodoc: complete = ((@files_completed.to_f / @total_files.to_f) * width).to_i @output.write "\r" # move to beginning @output.write 'Hydra Testing [' - @output.write @errors ? "\033[1;31m" : "\033[1;32m" + @output.write @errors ? "\033[0;31m" : "\033[0;32m" complete.times{@output.write '#'} @output.write '>' (width-complete).times{@output.write ' '}