lib/petitest/texts/base_text.rb in petitest-0.1.1 vs lib/petitest/texts/base_text.rb in petitest-0.1.2

- old
+ new

@@ -34,10 +34,10 @@ # @param string [String] # @param color_type [Symbol] # @return [String] def colorize(string, color_type) - if ::Petitest.configuration.colored + if ::Petitest.configuration.color "\e[#{ansi_color_code_for(color_type)}m#{string}\e[0m" else string end end