diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 02:51:12 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 02:51:12 +0000 |
commit | 46e5c5622f4d4b6ef4570031eaf08c49a5712389 (patch) | |
tree | fa88c36c70c009bcc0cebab9b57fda9a3c0253cc /test/rdoc | |
parent | f0dc29f2115c8eb28fc880e3f8dbeb26babe2242 (diff) |
* lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0.beta1
This version is mostly same as r56072. It contains to remove code
for Ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_bs.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_bs.rb b/test/rdoc/test_rdoc_markup_to_bs.rb index 33d274a97f..153a121d78 100644 --- a/test/rdoc/test_rdoc_markup_to_bs.rb +++ b/test/rdoc/test_rdoc_markup_to_bs.rb @@ -25,7 +25,6 @@ class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase end def accept_heading - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "===== H\bHe\bel\bll\blo\bo\n", @to.res.join end @@ -216,37 +215,30 @@ class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase end def accept_heading_1 - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "= H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_2 - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "== H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_3 - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "=== H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_4 - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "==== H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_indent - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal " = H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_b - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "= H\bHe\bel\bll\blo\bo\n", @to.end_accepting end def accept_heading_suppressed_crossref - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "= H\bHe\bel\bll\blo\bo\n", @to.end_accepting end @@ -264,24 +256,20 @@ class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase end def accept_paragraph_b - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "reg b\bbo\bol\bld\bd \b w\bwo\bor\brd\bds\bs reg\n", @to.end_accepting end def accept_paragraph_br - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "one\ntwo\n", @to.end_accepting end def accept_paragraph_break - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "hello\nworld\n", @to.end_accepting end def accept_paragraph_i - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "reg _\bi_\bt_\ba_\bl_\bi_\bc_\b _\bw_\bo_\br_\bd_\bs reg\n", @to.end_accepting end @@ -301,12 +289,10 @@ class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase end def accept_paragraph_star - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "reg b\bbo\bol\bld\bd reg\n", @to.end_accepting end def accept_paragraph_underscore - skip "No String#chars, upgrade your ruby" unless ''.respond_to? :chars assert_equal "reg _\bi_\bt_\ba_\bl_\bi_\bc reg\n", @to.end_accepting end @@ -364,4 +350,3 @@ words words words words end end - |