summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_generator_markup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_generator_markup.rb')
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_generator_markup.rb b/test/rdoc/test_rdoc_generator_markup.rb
index 1b440852831..b3b5c045880 100644
--- a/test/rdoc/test_rdoc_generator_markup.rb
+++ b/test/rdoc/test_rdoc_generator_markup.rb
@@ -37,7 +37,10 @@ class TestRDocGeneratorMarkup < RDoc::TestCase
def test_description
@comment = '= Hello'
- assert_equal "\n<h1 id=\"label-Hello\">Hello</h1>\n", description
+ links = '<span><a href="#label-Hello">&para;</a> ' +
+ '<a href="#documentation">&uarr;</a></span>'
+
+ assert_equal "\n<h1 id=\"label-Hello\">Hello#{links}</h1>\n", description
end
def test_formatter