[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Glib::Flags overload !=
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Glib::Flags overload !=
- Date: Thu, 22 May 2008 23:26:57 +0200
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]