From b67b07bd5bd94433051b5e0a5db800f8b22361b4 Mon Sep 17 00:00:00 2001 From: Maxime Lapointe Date: Thu, 30 May 2019 16:46:18 -0400 Subject: Fix links to headings A previous change made the header's id be fully referenced (for the sidebar I believe) but this broke links to them. This fixes the issue. --- test/rdoc/test_rdoc_markup_to_html_crossref.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/rdoc') diff --git a/test/rdoc/test_rdoc_markup_to_html_crossref.rb b/test/rdoc/test_rdoc_markup_to_html_crossref.rb index 598bae3d3f..3d80980791 100644 --- a/test/rdoc/test_rdoc_markup_to_html_crossref.rb +++ b/test/rdoc/test_rdoc_markup_to_html_crossref.rb @@ -19,7 +19,7 @@ class TestRDocMarkupToHtmlCrossref < XrefTestCase def test_convert_CROSSREF_label result = @to.convert 'C1@foo' - assert_equal para("foo at C1"), result + assert_equal para("foo at C1"), result result = @to.convert 'C1#m@foo' assert_equal para("foo at C1#m"), @@ -28,12 +28,12 @@ class TestRDocMarkupToHtmlCrossref < XrefTestCase def test_convert_CROSSREF_label_period result = @to.convert 'C1@foo.' - assert_equal para("foo at C1."), result + assert_equal para("foo at C1."), result end def test_convert_CROSSREF_label_space result = @to.convert 'C1@foo+bar' - assert_equal para("foo bar at C1"), + assert_equal para("foo bar at C1"), result end @@ -104,7 +104,7 @@ class TestRDocMarkupToHtmlCrossref < XrefTestCase def test_convert_RDOCLINK_rdoc_ref_label result = @to.convert 'rdoc-ref:C1@foo' - assert_equal para("foo at C1"), result, + assert_equal para("foo at C1"), result, 'rdoc-ref:C1@foo' end -- cgit v1.2.3