mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove redundant condition
See https://github.com/rubygems/rubygems/pull/5210#discussion_r784807168 https://github.com/rubygems/rubygems/commit/cd0e961e81
This commit is contained in:
parent
8d05047d72
commit
da0f67c038
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ require 'timeout'
|
|||
|
||||
class TestGemStreamUI < Gem::TestCase
|
||||
# increase timeout with MJIT for --jit-wait testing
|
||||
mjit_enabled = defined?(RubyVM::MJIT) ? RubyVM::MJIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
mjit_enabled = defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
SHORT_TIMEOUT = (RUBY_ENGINE == "ruby" && !mjit_enabled) ? 0.1 : 1.0
|
||||
|
||||
module IsTty
|
||||
|
|
Loading…
Reference in a new issue