mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Use parenthesis for clarity for ternary condition
https://github.com/rubygems/rubygems/commit/d1247472b9
This commit is contained in:
parent
b62e9c912d
commit
998ccb0831
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class TestGemStreamUI < Gem::TestCase
|
|||
|
||||
# increase timeout with MJIT for --jit-wait testing
|
||||
mjit_enabled = defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
SHORT_TIMEOUT = RUBY_ENGINE == "ruby" && !mjit_enabled ? 0.1 : 1.0
|
||||
SHORT_TIMEOUT = (RUBY_ENGINE == "ruby" && !mjit_enabled) ? 0.1 : 1.0
|
||||
|
||||
module IsTty
|
||||
attr_accessor :tty
|
||||
|
|
Loading…
Reference in a new issue