On Wed, Dec 30, 2009 at 1:33 PM, rogerdpack <rogerpack2...@gmail.com> wrote:

> before I hack up a patch for it.  Would a patch to change
>
> "expected Fixnum to be a kind of Fixnum"
>
> to
>
> "expected Fixnum to be a kind of Fixnum (is a Class)"
>
> or possibly
>
> "expected Fixnum to be a kind of Fixnum (is a Class, Module, Object,
> Kernel, BasicObject)"
>
>
> have any chance of being accepted?
>

Probably not with that exact wording, but if you feel the message is not
telling you what you need to know, I'm open to other ideas.

What about something like:

  expected #<Class:2158174640> => Fixnum to be a kind of Fixnum

That is more aligned with other failure messages. WDYT?



> Thanks.
> -r
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to