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:
parent
33025d9768
commit
3cc814bdf6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue