Permalink
Browse files

Do not embolden the final status

This should be configured by the user. It can conflict with terminal capabilities or themes;
  • Loading branch information...
1 parent dc3eb73 commit 86690b4ca7b8b99271aa4fe48d6c4a4aec50b420 @cdlm cdlm committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minitest/display.rb
@@ -215,7 +215,7 @@ def _run_suite(suite, type)
def status(io = self.output)
format = "%d tests, %d assertions, %d failures, %d errors, %d skips"
final_status = failures + errors > 0 ? :failure : :success
- io.puts display.color(format % [test_count, assertion_count, failures, errors, skips], [:bold, final_status])
+ io.puts display.color(format % [test_count, assertion_count, failures, errors, skips], final_status)
if display.options[:output_slow]
@test_times.sort! {|a, b| b[1] <=> a[1] }

0 comments on commit 86690b4

Please sign in to comment.