Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use pretty failure output without color
  • Loading branch information
kou committed Mar 31, 2012
1 parent 1c89846 commit 045b53e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/test/unit/ui/console/testrunner.rb
Expand Up @@ -168,8 +168,7 @@ def categorize_fault(fault)
end

def output_fault_in_detail(fault)
if @use_color and fault.is_a?(Failure) and
fault.inspected_expected and fault.inspected_actual
if fault.is_a?(Failure)
output_single(fault.label, fault_color(fault))
output(":")
output(fault.test_name)
Expand Down

0 comments on commit 045b53e

Please sign in to comment.