Subject: | Tests fail with perl 5.10 |
Date: | Sat, 23 Feb 2008 18:41:27 +0100 |
To: | bug-Class-Inner [...] rt.cpan.org |
From: | gregor herrmann <gregor+debian [...] comodo.priv.at> |
Hi,
when building Class::Inner with perl 5.10 t/basic.t fails, probably
due to the changes in inheritance detection.
Cf.
http://bugs.debian.org/467150
http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod#Recursive_inheritance_detected_earlier
Find below a tentative patch for this issue.
Cheers,
gregor (Debian Perl Group)
--- libclass-inner-perl.orig/t/basic.t
+++ libclass-inner-perl/t/basic.t
@@ -45,4 +45,4 @@
$ic = undef;
-ok(!$ic_class->isa('Parent'), 'Class dismissed');
+ok(!(ref $ic_class && $ic_class->isa('Parent')), 'Class dismissed');
Show quoted text
----- End forwarded message -----
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Kurt Ostbahn & Die Kombo: 6 x fia nix