Re: Infinite recursion

2004-06-30 Thread Paul Johnson
On Wed, Jun 30, 2004 at 11:42:34AM -0400, Vsevolod (Simon) Ilyushchenko wrote: > I have tried to run Devel::Cover on my tests that use Test::Unit, and I > am getting this after the code is run: > > Deep recursion on subroutine "B::Deparse::find_scope" at > /usr/lib/perl5/5.8.1/i386-linux-thread

Infinite recursion

2004-06-30 Thread Vsevolod (Simon) Ilyushchenko
Hi, I have tried to run Devel::Cover on my tests that use Test::Unit, and I am getting this after the code is run: Deep recursion on subroutine "B::Deparse::find_scope" at /usr/lib/perl5/5.8.1/i386-linux-thread-multi/B/Deparse.pm line 1317. Deep recursion on subroutine "B::Deparse::dq" at /usr/

Re: Test::More::is_deeply() bug

2004-06-30 Thread Geoffrey Young
> Actually, it seems that some of the patches were applied. The problem is > that is_deeply() delegates to ->is_eq() for non deep arguments but handles > it's own string comparison once you descend into the structure. yes, I figured it was something like that - who hasn't been bitten by this kin

Re: Test::More::is_deeply() bug

2004-06-30 Thread Fergal Daly
On Wed, Jun 30, 2004 at 09:59:15AM -0400, Geoffrey Young wrote: > I found some stuff about is_deeply() and stringified references, but it > doesn't look to me to be the same thing. the problem I am describing is the > difference specifically between an empty string and undef. > > is_deeply(['']

Re: Test::More::is_deeply() bug

2004-06-30 Thread Geoffrey Young
Fergal Daly wrote: > There are patches in the archives for this and a couple of other bugs but > they were submitted along with another change that wasn't acceptable so they > were never applied. A search for is_deeply should find the patches and a > long argument, I found some stuff about is_de

Re: Test::More::is_deeply() bug

2004-06-30 Thread Fergal Daly
There are patches in the archives for this and a couple of other bugs but they were submitted along with another change that wasn't acceptable so they were never applied. A search for is_deeply should find the patches and a long argument, F On Wed, Jun 30, 2004 at 09:12:45AM -0400, Geoffrey Young

Test::More::is_deeply() bug

2004-06-30 Thread Geoffrey Young
hi all I'm not sure if this is the proper forum for reporting Test::More bugs, but I know some of the interested parties are listening :) use Test::More tests => 2; is(undef,undef); is_deeply([undef],[undef]); # both of these should fail is('',undef);# this fails i