diff options
author | aycabta <[email protected]> | 2021-12-05 18:06:03 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-12-09 18:16:06 +0900 |
commit | 6ff9fcdfa8c6d55474e6de70ad241625b9265a5b (patch) | |
tree | d300370e73bc04a25632d448f5c987479075f4bd /test/rdoc/test_rdoc_class_module.rb | |
parent | 2e50989ad39a1085e04a901d072e7a2a77d1dc8f (diff) |
[ruby/rdoc] Support addition Object class when adding methods to top level
https://github.com/ruby/rdoc/commit/23747b4950
Diffstat (limited to 'test/rdoc/test_rdoc_class_module.rb')
-rw-r--r-- | test/rdoc/test_rdoc_class_module.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_class_module.rb b/test/rdoc/test_rdoc_class_module.rb index ad185671cf..13021b9cc7 100644 --- a/test/rdoc/test_rdoc_class_module.rb +++ b/test/rdoc/test_rdoc_class_module.rb @@ -63,7 +63,7 @@ class TestRDocClassModule < XrefTestCase end def test_ancestors - assert_equal [@parent, "Object"], @child.ancestors + assert_equal [@parent, @object, "BasicObject"], @child.ancestors end def test_comment_equals @@ -129,7 +129,7 @@ class TestRDocClassModule < XrefTestCase end def test_each_ancestor - assert_equal [@parent], @child.each_ancestor.to_a + assert_equal [@parent, @object], @child.each_ancestor.to_a end def test_each_ancestor_cycle |