Skip to content

Commit

Permalink
Fixup #634, fixes #647
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 27, 2018
1 parent 5f93cef commit 03d36a4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/test_rdoc_ri_driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,16 @@ def test_display_method_overridden
def test_display_name
util_store

assert_equal true, @driver.display_name('home:README.rdoc')
out, = capture_io do
assert_equal true, @driver.display_name('home:README.rdoc')
end

expected = <<-EXPECTED
= README
This is a README
EXPECTED

assert_equal expected, out
end

def test_display_name_not_found_class
Expand Down

0 comments on commit 03d36a4

Please sign in to comment.