summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 13:45:00 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit4cd8a46f459c7813237501409b1a1c379128d1d3 (patch)
treec0204a64ad6f9b9522de86178325b145e42c1cdd /test/rubygems/test_gem_installer.rb
parent7b8a24ad08a0bafd0ef2f991080d72c6acf34a85 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/ParenthesesAroundCondition
https://github.com/rubygems/rubygems/commit/c766a65885
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 300cf9eb6d..9a71f4eae5 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -472,7 +472,7 @@ gem 'other', version
end
end
ensure
- FileUtils.chmod 0755, util_inst_bindir unless ($DEBUG || win_platform?)
+ FileUtils.chmod 0755, util_inst_bindir unless $DEBUG || win_platform?
end
def test_generate_bin_script_no_shebang
@@ -576,7 +576,7 @@ gem 'other', version
end
end
ensure
- FileUtils.chmod 0755, util_inst_bindir unless ($DEBUG || win_platform?)
+ FileUtils.chmod 0755, util_inst_bindir unless $DEBUG || win_platform?
end
def test_generate_bin_symlink_update_newer