diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-15 09:08:09 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-15 09:08:09 +0000 |
commit | e272790d1103d12afc98feac8e441fb66147836b (patch) | |
tree | 25afde9e84c6c01c4be16bf9fb05db9dfd1f1c8b /lib/test | |
parent | 665b06ec5bf747c13ff7c5fa9b003d5ca2540709 (diff) | |
download | ruby-e272790d1103d12afc98feac8e441fb66147836b.tar.gz |
* lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
status line if the status is skipped and -q is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r-- | lib/test/unit.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index e8afbbcaa2..e96ec558eb 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -725,7 +725,10 @@ module Test @report_count ||= 0 report.each do |msg| if msg.start_with? "Skipped:" - next if @options[:hide_skip] + if @options[:hide_skip] + del_status_line + next + end color = @skipped_color else color = @failed_color |