mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/test/unit.rb: not override job_status option
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not override job_status option if no tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
05b26a85b8
commit
e7ce771354
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ module Test
|
|||
end
|
||||
|
||||
def _prepare_run(suites, type)
|
||||
options[:job_status] ||= @tty && !options[:verbose] ? :replace : :normal
|
||||
options[:job_status] ||= :replace if @tty && !@verbose
|
||||
case options[:color]
|
||||
when :always
|
||||
color = true
|
||||
|
|
Loading…
Reference in a new issue