ruby-changes:24657
From: usa <ko1@a...>
Date: Wed, 15 Aug 2012 18:10:33 +0900 (JST)
Subject: [ruby-changes:24657] usa:r36708 (trunk): * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
usa 2012-08-15 18:08:09 +0900 (Wed, 15 Aug 2012) New Revision: 36708 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36708 Log: * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the status line if the status is skipped and -q is specified. Modified files: trunk/ChangeLog trunk/lib/test/unit.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 36707) +++ ChangeLog (revision 36708) @@ -1,3 +1,8 @@ +Wed Aug 15 18:05:37 2012 NAKAMURA Usaku <usa@r...> + + * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the + status line if the status is skipped and -q is specified. + Wed Aug 15 16:26:52 2012 Nobuyoshi Nakada <nobu@r...> * sprintf.c (ruby__sfvextra): the result should be infected by the Index: lib/test/unit.rb =================================================================== --- lib/test/unit.rb (revision 36707) +++ lib/test/unit.rb (revision 36708) @@ -725,7 +725,10 @@ @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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/