mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc: Update to RDoc 4.1.0.preview.1
RDoc 4.1.0 contains a number of enhancements including a new default style and accessibility support. You can see the changelog here: https://github.com/rdoc/rdoc/blob/v4.1.0.preview.1/History.rdoc * test/rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fed428007c
commit
df7dac9174
118 changed files with 5394 additions and 3600 deletions
|
@ -2,6 +2,10 @@ require File.expand_path '../xref_test_case', __FILE__
|
|||
|
||||
class TestRDocMethodAttr < XrefTestCase
|
||||
|
||||
def test_initialize_copy
|
||||
refute_same @c1_m.full_name, @c1_m.dup.full_name
|
||||
end
|
||||
|
||||
def test_block_params_equal
|
||||
|
||||
m = RDoc::MethodAttr.new(nil, 'foo')
|
||||
|
@ -116,6 +120,10 @@ class TestRDocMethodAttr < XrefTestCase
|
|||
assert_equal 'C1::m', @c1__m.full_name
|
||||
end
|
||||
|
||||
def test_is_alias_for
|
||||
assert_equal @c2_b, @c2_a.is_alias_for
|
||||
end
|
||||
|
||||
def test_output_name
|
||||
assert_equal '#m', @c1_m.output_name(@c1)
|
||||
assert_equal '::m', @c1__m.output_name(@c1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue