1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-07-12 21:11:14 +00:00
parent c3521bf631
commit e8f714b634

View file

@ -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