1
0
Fork 0
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:
nobu 2016-03-03 03:08:52 +00:00
parent 0534b970bc
commit 80a8390c53

View file

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