1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2011-08-11 18:31:49 +00:00
parent 8f97a2c537
commit 73f0448e98
4 changed files with 12 additions and 2 deletions

View file

@ -25,6 +25,12 @@ class TestRDocMarkupToHtmlCrossref < XrefTestCase
assert_equal "\n<p><a href=\"C1.html\">C1</a></p>\n", result
end
def test_convert_TIDYLINK_rdoc_ref
result = @to.convert '{foo}[rdoc-ref:C1]'
assert_equal "\n<p><a href=\"C1.html\">foo</a></p>\n", result
end
def test_gen_url
assert_equal '<a href="C1.html">Some class</a>',
@to.gen_url('rdoc-ref:C1', 'Some class')