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:
parent
c3521bf631
commit
e8f714b634
1 changed files with 4 additions and 1 deletions
|
@ -397,7 +397,10 @@ module Test
|
||||||
|
|
||||||
def del_status_line
|
def del_status_line
|
||||||
@status_line_size ||= 0
|
@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"
|
print "\r"+" "*@status_line_size+"\r"
|
||||||
$stdout.flush
|
$stdout.flush
|
||||||
@status_line_size = 0
|
@status_line_size = 0
|
||||||
|
|
Loading…
Reference in a new issue