From e8f714b6345339efb2581a6749272a83ae467d71 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Jul 2012 21:11:14 +0000 Subject: [PATCH] test: separate each outputs * lib/test/unit.rb (Test::Unit::Runner#del_status_line): separate each outputs if not replace mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/test/unit.rb b/lib/test/unit.rb index b72eaa4e9a..40acc7b48d 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -397,7 +397,10 @@ module Test def del_status_line @status_line_size ||= 0 - return unless @options[:job_status] == :replace + unless @options[:job_status] == :replace + $stdout.puts + return + end print "\r"+" "*@status_line_size+"\r" $stdout.flush @status_line_size = 0