summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 10:46:45 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit05208c3875a12a188e14328ffbd5b2eb21824f24 (patch)
tree659dc072793f13810edd33ab818b2eeb6d994e77 /test/rubygems/test_gem_installer.rb
parent7ab4ede4f5ec23d9eac6868176d99ad63df46978 (diff)
[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument
https://github.com/rubygems/rubygems/commit/d8efd919db
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index cc77052f5a..631d6a09ea 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1025,7 +1025,7 @@ gem 'other', version
@gem = setup_base_gem
# build old version that has a bin file
- installer = util_setup_gem do |spec|
+ installer = util_setup_gem do |_spec|
File.open File.join("bin", "executable"), "w" do |f|
f.puts "require 'code'"
end