Re: Glib::Flags overload !=



Kevin Ryde wrote:
the 'eq' was only added to make Test::More's is_deeply work correctly
when Glib::Flags are involved.

There isn't another way to do that?  I'd suspect different eq and ne is
an open invitation for weird trouble.

Actually, I think Test::More nowadays always uses stringification if an
object supports it.

So I guess you're right: if we have 'eq' we might just as well add 'ne'
to avoid inconsistencies.  Patch committed.

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]