diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-03 03:08:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-03 03:08:52 +0000 |
commit | 80a8390c5342363679e46ee1ef5670ad9e148800 (patch) | |
tree | b6c86626f3bf7700ecd3030ff3f0645381e55153 /test | |
parent | 0534b970bc83814e77ea4bd8ba9b2d31fefc9b1e (diff) | |
download | ruby-80a8390c5342363679e46ee1ef5670ad9e148800.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit.rb | 2 |
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 |