mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Fix ruby warning about unused local variables
https://github.com/rubygems/rubygems/commit/cca2fccd95
This commit is contained in:
parent
2ece4d96f0
commit
43daf4d288
Notes:
git
2020-05-08 14:14:28 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class TestGemSpecFetcher < Gem::TestCase
|
|||
fetcher.spec 'examp', 1
|
||||
end
|
||||
|
||||
suggestions = @sf.suggest_gems_from_name('examplw', type = :latest, num_results = 1)
|
||||
suggestions = @sf.suggest_gems_from_name('examplw', :latest, 1)
|
||||
assert_equal ['example'], suggestions
|
||||
|
||||
suggestions = @sf.suggest_gems_from_name('other')
|
||||
|
|
Loading…
Add table
Reference in a new issue