mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
670c6e8ce9
commit
d42d6e690e
56 changed files with 1597 additions and 223 deletions
|
@ -7,7 +7,6 @@ class TestRDocMethodAttr < XrefTestCase
|
|||
end
|
||||
|
||||
def test_block_params_equal
|
||||
|
||||
m = RDoc::MethodAttr.new(nil, 'foo')
|
||||
|
||||
m.block_params = ''
|
||||
|
@ -148,6 +147,10 @@ class TestRDocMethodAttr < XrefTestCase
|
|||
assert_equal expected, @c1_m.search_record
|
||||
end
|
||||
|
||||
def test_spaceship
|
||||
assert_nil @c1_m.<=>(RDoc::CodeObject.new)
|
||||
end
|
||||
|
||||
def test_equals2
|
||||
assert_equal @c1_m, @c1_m
|
||||
refute_equal @c1_m, @parent_m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue