mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc*: Updated to RDoc 4.0 (pre-release)
* bin/rdoc: ditto * test/rdoc: ditto * NEWS: Updated with RDoc 4.0 information git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c72f0daa87
commit
1c279a7d27
233 changed files with 45019 additions and 5100 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue