arashja / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

instanceOf matcher doesn't report actual type of class when match fails #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
IsInstanceOf should implement describeMismatch() to report what type of
object it actually got. Currently, it just uses the object's toString
representation (inherited from BaseMatcher).

Original issue reported on code.google.com by mhack...@kanayo.com on 2 Mar 2009 at 12:44

GoogleCodeExporter commented 8 years ago
fixed

Original comment by smgfree...@gmail.com on 2 Mar 2009 at 8:51

GoogleCodeExporter commented 8 years ago

Original comment by smgfree...@gmail.com on 2 Mar 2009 at 8:51

GoogleCodeExporter commented 8 years ago

Original comment by smgfree...@gmail.com on 21 Mar 2009 at 11:50

GoogleCodeExporter commented 8 years ago

Original comment by smgfree...@gmail.com on 21 May 2009 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by smgfree...@gmail.com on 21 May 2009 at 10:45