summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-03 03:08:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-03 03:08:52 +0000
commit80a8390c5342363679e46ee1ef5670ad9e148800 (patch)
treeb6c86626f3bf7700ecd3030ff3f0645381e55153
parent0534b970bc83814e77ea4bd8ba9b2d31fefc9b1e (diff)
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
-rw-r--r--test/lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 6775c3691a..2825c2eb4a 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -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