mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Fix ruby warnings about a shadowed variable
5cfb3252d9
This commit is contained in:
parent
3d9ddabe9e
commit
4b07a99bdf
1 changed files with 2 additions and 2 deletions
|
|
@ -749,12 +749,12 @@ gem 'other', version
|
|||
end
|
||||
|
||||
def test_generate_plugins_with_install_dir
|
||||
spec = quick_gem 'a' do |spec|
|
||||
spec = quick_gem 'a' do |s|
|
||||
write_file File.join(@tempdir, 'lib', 'rubygems_plugin.rb') do |io|
|
||||
io.write "puts __FILE__"
|
||||
end
|
||||
|
||||
spec.files += %w[lib/rubygems_plugin.rb]
|
||||
s.files += %w[lib/rubygems_plugin.rb]
|
||||
end
|
||||
|
||||
util_build_gem spec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue