summaryrefslogtreecommitdiff
path: root/test/rubygems/helper.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-05-20 17:15:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-05-20 17:32:19 +0900
commitaeea88174d88264469b406003765c7efdcd53edf (patch)
treea4d9de6d1a0027f5b9c2f2050bca2586b87596bb /test/rubygems/helper.rb
parentbd8df25cdc8e0e94cbc2eacc492a764e6b90833c (diff)
Merge RubyGems and Bundler HEAD
https://github.com/rubygems/rubygems/commit/125415593ead9ab69a9f0bb5392c9d7ec61b1f51
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r--test/rubygems/helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 4460df8319..c03ce7e6c6 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -618,7 +618,7 @@ class Gem::TestCase < Test::Unit::TestCase
gem = File.join(@tempdir, File.basename(gem)).tap(&Gem::UNTAINT)
end
- Gem::Installer.at(gem, options.merge({:wrappers => true})).install
+ Gem::Installer.at(gem, options.merge({ :wrappers => true })).install
end
##
@@ -1294,7 +1294,7 @@ Also, a list:
end
def rubygems_path
- $LOAD_PATH.find{|p| p == File.dirname($LOADED_FEATURES.find{|f| f.end_with?("/rubygems.rb") }) }
+ $LOAD_PATH.find {|p| p == File.dirname($LOADED_FEATURES.find {|f| f.end_with?("/rubygems.rb") }) }
end
def with_clean_path_to_ruby