Project

General

Profile

Actions

Bug #891

closed

MiniTest::Assertions#assert_instance_of should use Object#instance_of?

Added by okkez (okkez _) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:37458]

Description

=begin
タイトルの通りなのですが、MiniTest::Assertions#assert_instance_of の実装がおかしいと思います。
Module#=== ではなくて Object#instance_of? を使用するべきではないでしょうか?
test/unit では Object#instance_of? を使用していました。
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0