From 73f0448e983659f863dcacc25beb054ea676e0fb Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 11 Aug 2011 18:31:49 +0000 Subject: * 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 --- test/rdoc/test_rdoc_markup_to_html_crossref.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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

C1

\n", result end + def test_convert_TIDYLINK_rdoc_ref + result = @to.convert '{foo}[rdoc-ref:C1]' + + assert_equal "\n

foo

\n", result + end + def test_gen_url assert_equal 'Some class', @to.gen_url('rdoc-ref:C1', 'Some class') -- cgit v1.2.3