Skip to content

Commit 13e4b29

Browse files
committed
Fix duplicated test
1 parent e935763 commit 13e4b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rdoc_top_level.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ def test_add_method
164164
@top_level.add_method method
165165

166166
object = RDoc::TopLevel.find_class_named 'Object'
167-
assert_equal [method], object.method
167+
assert_equal [method], object.method_list
168168
assert_includes object.in_files, @top_level
169169
end
170170

171-
def test_add_method
171+
def test_add_method_stopdoc
172172
@top_level.document_self = false
173173

174174
method = RDoc::AnyMethod.new nil, 'm'

0 commit comments

Comments
 (0)