From df7dac9174a31e71b58be6184e23bfe6b742a494 Mon Sep 17 00:00:00 2001 From: drbrain Date: Wed, 18 Sep 2013 23:33:36 +0000 Subject: * 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 --- test/rdoc/test_rdoc_method_attr.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/rdoc/test_rdoc_method_attr.rb') diff --git a/test/rdoc/test_rdoc_method_attr.rb b/test/rdoc/test_rdoc_method_attr.rb index 8fff038289..a91ebc23d7 100644 --- a/test/rdoc/test_rdoc_method_attr.rb +++ b/test/rdoc/test_rdoc_method_attr.rb @@ -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) -- cgit v1.2.3