1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

lib/test/unit.rb: old behavior if verbose

* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): keep the old
  behavior if --verbose option is given.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-05-08 00:25:43 +00:00
parent 79f28211fd
commit 1af101f8ed

View file

@ -660,8 +660,8 @@ module Test
end
def _prepare_run(suites, type)
if @tty
@verbose ||= !options[:parallel]
if @tty and !@verbose
@verbose = !options[:parallel]
@output = StatusLineOutput.new(self)
end
if /\A\/(.*)\/\z/ =~ (filter = options[:filter])