mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/unit: not return the cursor if verbose
* test/lib/test/unit.rb (update_status): do not return the cursor if verbose mode, not results and times to overwrite test names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0534b970bc
commit
80a8390c53
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ module Test
|
|||
add_status("[#{count}/#{@total_tests}]")
|
||||
print(@reset_color)
|
||||
add_status(" #{s}")
|
||||
$stdout.print "\r" if @options[:job_status] == :replace
|
||||
$stdout.print "\r" if @options[:job_status] == :replace and !@verbose
|
||||
$stdout.flush
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue