diff options
Diffstat (limited to 'test/rdoc/test_rdoc_markup_to_label.rb')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_label.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_label.rb b/test/rdoc/test_rdoc_markup_to_label.rb index 5fb358bee3..d8cc365069 100644 --- a/test/rdoc/test_rdoc_markup_to_label.rb +++ b/test/rdoc/test_rdoc_markup_to_label.rb @@ -82,8 +82,8 @@ class TestRDocMarkupToLabel < RDoc::Markup::FormatterTestCase assert_equal 'some_method', @to.convert('some_method') assert_equal 'some_method', @to.convert('\\some_method') - assert_equal '%23some_method', @to.convert('#some_method') - assert_equal '%23some_method', @to.convert('\\#some_method') + assert_equal '23some_method', @to.convert('#some_method') + assert_equal '23some_method', @to.convert('\\#some_method') end def test_convert_em @@ -92,11 +92,11 @@ class TestRDocMarkupToLabel < RDoc::Markup::FormatterTestCase end def test_convert_em_dash # for HTML conversion - assert_equal '--', @to.convert('--') + assert_equal '-', @to.convert('--') end def test_convert_escape - assert_equal 'a+%3E+b', @to.convert('a > b') + assert_equal 'a+-3E+b', @to.convert('a > b') end def test_convert_tidylink |