mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3a87c3c560
commit
336a8301f7
28 changed files with 428 additions and 144 deletions
|
|
@ -87,6 +87,18 @@ class RDoc::Markup::FormatterTestCase < MiniTest::Unit::TestCase
|
|||
accept_verbatim
|
||||
end
|
||||
|
||||
def test_accept_raw
|
||||
@to.start_accepting
|
||||
|
||||
@to.accept_raw @RM::Raw.new("<table>",
|
||||
"<tr><th>Name<th>Count",
|
||||
"<tr><td>a<td>1",
|
||||
"<tr><td>b<td>2",
|
||||
"</table>")
|
||||
|
||||
accept_raw
|
||||
end
|
||||
|
||||
def test_accept_rule
|
||||
@to.start_accepting
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue