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:
parent
79f28211fd
commit
1af101f8ed
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Reference in a new issue