diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-11 18:44:10 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-11 18:44:10 +0000 |
commit | a750006edad30fce24f5268524d5a9b246341eb1 (patch) | |
tree | c70aeaee20dd94e6e4f011be7f633344ba7431ec /test/rdoc | |
parent | 6de14984a55066c0ed0f9e2af06a1969f6548333 (diff) |
* backport r32935 from trunk
* lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_html_crossref.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_html_crossref.rb b/test/rdoc/test_rdoc_markup_to_html_crossref.rb index 2c566f0140..4f122512ac 100644 --- a/test/rdoc/test_rdoc_markup_to_html_crossref.rb +++ b/test/rdoc/test_rdoc_markup_to_html_crossref.rb @@ -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') |