summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_markup_to_label.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-07 01:22:37 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-07 01:22:37 +0000
commit4260aa1dc399e1bb4a2147409ed1139112cfefb8 (patch)
tree72b378fdcef83d532147bb6deeafe2ad55134f3e /test/rdoc/test_rdoc_markup_to_label.rb
parent7d2d6d0a2f600943ab484238b4722036151376a5 (diff)
* lib/rdoc: Update to RDoc 4.2.0.
* test/rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_markup_to_label.rb')
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb8
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