Skip to content

Commit 80b7445

Browse files
committed
Fix test_parse_redefinable_methods
1 parent 2725175 commit 80b7445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rdoc_parser_ruby.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,8 +1713,8 @@ def test_parse_redefinable_methods
17131713
end
17141714

17151715
klass.method_list.each do |method|
1716-
assert_kind_of RDoc::RubyToken::TkId, method.token_stream[5]
1717-
assert_includes redefinable_ops, method.token_stream[5].text
1716+
assert_equal :on_ident, method.token_stream[5][:kind]
1717+
assert_includes redefinable_ops, method.token_stream[5][:text]
17181718
end
17191719
end
17201720

0 commit comments

Comments
 (0)