diff options
Diffstat (limited to 'test/rdoc/test_rdoc_markup_to_tt_only.rb')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_tt_only.rb | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_tt_only.rb b/test/rdoc/test_rdoc_markup_to_tt_only.rb index f5bb662897..2e950dd1b0 100644 --- a/test/rdoc/test_rdoc_markup_to_tt_only.rb +++ b/test/rdoc/test_rdoc_markup_to_tt_only.rb @@ -1,7 +1,4 @@ -require 'rubygems' -require 'rdoc/markup/formatter_test_case' -require 'rdoc/markup/to_tt_only' -require 'minitest/autorun' +require 'rdoc/test_case' class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase @@ -17,6 +14,10 @@ class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase assert_empty @to.end_accepting end + def accept_block_quote + assert_empty @to.end_accepting + end + def accept_document assert_equal [], @to.res end @@ -125,6 +126,10 @@ class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase assert_empty @to.end_accepting end + def accept_paragraph_break + assert_empty @to.end_accepting + end + def accept_raw assert_empty @to.end_accepting end @@ -177,10 +182,22 @@ class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase assert_equal [nil, 'teletype', nil], @to.res end + def accept_list_item_start_note_multi_description + assert_empty @to.res + end + + def accept_list_item_start_note_multi_label + assert_empty @to.res + end + def accept_paragraph_b assert_empty @to.end_accepting end + def accept_paragraph_br + assert_empty @to.end_accepting + end + def accept_paragraph_i assert_empty @to.end_accepting end |