aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/formatter_test_case.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/formatter_test_case.rb')
-rw-r--r--lib/rdoc/markup/formatter_test_case.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/rdoc/markup/formatter_test_case.rb b/lib/rdoc/markup/formatter_test_case.rb
index 9b9d7cf000..26c8d63332 100644
--- a/lib/rdoc/markup/formatter_test_case.rb
+++ b/lib/rdoc/markup/formatter_test_case.rb
@@ -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