[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
@ -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…
x
Reference in New Issue
Block a user