1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove warning: shadowing outer local variable - spec

https://github.com/rubygems/rubygems/commit/70c5c17a5f
This commit is contained in:
bronzdoc 2019-07-25 23:02:46 -06:00 committed by Hiroshi SHIBATA
parent 33025d9768
commit 3cc814bdf6
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -2055,11 +2055,11 @@ gem 'other', version
end
def test_package_attribute
spec = quick_gem 'c' do |spec|
gem = quick_gem 'c' do |spec|
util_make_exec spec, '#!/usr/bin/ruby', 'exe'
end
installer = util_installer(spec, @gemhome)
installer = util_installer(gem, @gemhome)
assert_respond_to(installer, :package)
assert_kind_of(Gem::Package, installer.package)
end