Skip to content

Commit a68dfb5

Browse files
st0012kou
andauthored
Apply suggestions from code review
Co-authored-by: Sutou Kouhei <[email protected]>
1 parent 4342d52 commit a68dfb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rdoc/test_rdoc_ri_driver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ def test_expand_name
10081008

10091009
assert_equal 'Z', e.name
10101010

1011-
@driver.stores << RDoc::Store.new(@rdoc_options, path: nil, type: :system)
1011+
@driver.stores << RDoc::Store.new(@rdoc_options, type: :system)
10121012

10131013
assert_equal 'ruby:README', @driver.expand_name('ruby:README')
10141014
assert_equal 'ruby:', @driver.expand_name('ruby:')
@@ -1085,7 +1085,7 @@ def test_filter_methods_not_found
10851085
end
10861086

10871087
def test_find_store
1088-
@driver.stores << RDoc::Store.new(@rdoc_options, path: nil, type: :system)
1088+
@driver.stores << RDoc::Store.new(@rdoc_options, type: :system)
10891089
@driver.stores << RDoc::Store.new(@rdoc_options, path: 'doc/gem-1.0/ri', type: :gem)
10901090

10911091
assert_equal 'ruby', @driver.find_store('ruby')

0 commit comments

Comments
 (0)