summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 13:52:28 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commitf8fe151ca99233e7d133e2952f9b989c5290c825 (patch)
treeabf775744aa3065bc3686e7c8dab56d0954a113e /test
parent31c572f4fade8d061b151bd70dfca0b79da664e3 (diff)
util/rubocop -A --only Style/TernaryParentheses
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_stream_ui.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_stream_ui.rb b/test/rubygems/test_gem_stream_ui.rb
index b6b85b5c43..f71bc99b3a 100644
--- a/test/rubygems/test_gem_stream_ui.rb
+++ b/test/rubygems/test_gem_stream_ui.rb
@@ -6,7 +6,7 @@ require "timeout"
class TestGemStreamUI < Gem::TestCase
# increase timeout with RJIT for --jit-wait testing
rjit_enabled = defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
- SHORT_TIMEOUT = (RUBY_ENGINE == "ruby" && !rjit_enabled) ? 0.1 : 1.0
+ SHORT_TIMEOUT = RUBY_ENGINE == "ruby" && !rjit_enabled ? 0.1 : 1.0
module IsTty
attr_accessor :tty