Open schwernbot opened 10 years ago
From: @schwern Date: Friday Mar 23, 2012 at 23:36 GMT Orig: https://github.com/Test-More/test-more/issues/262#issuecomment-4669958
It is related to TB2, but it is in fact a bug in their test.
{
my $depth;
{
no warnings 'redefine';
*UNIVERSAL::can = sub { die "Burp!" if ++$depth > 2; blessed(shift) };
}
$x = bless {}, "DEF";
is(blessed($x), "DEF", 'recursion of UNIVERSAL::can');
}
Their test overrides and breaks can
for everybody, including TB2. That's naughty.
From: @schwern Date: Sunday Mar 25, 2012 at 12:29 GMT Orig: https://github.com/Test-More/test-more/issues/262#issuecomment-4681279
PS I may have written that test.
From: @schwern Date: Friday Apr 13, 2012 at 03:25 GMT Orig: https://github.com/Test-More/test-more/issues/262#issuecomment-5107837
This has been reported with a patch as https://github.com/Scalar-List-Utils/Scalar-List-Utils/pull/2 and https://rt.cpan.org/Ticket/Display.html?id=76171
From: @eserte Date: Thursday Mar 22, 2012 at 20:42 GMT Orig: https://github.com/Test-More/test-more/issues/262
This fail looks like it is related to TB2: https://gist.github.com/2163946
Regards, Slaven