On Tue, Feb 11, 2014 at 01:17:15PM -0500, shawn wilson wrote:
> Is there a way to see the data difference when is_deeply fails? proove
> -d doesn't give me the structure that fails. I end up 'print STDERR
> "one " . Dumper($foo); print STDERR 'two " . Dumper($bar);' which just
> doesn't seem like t
Test::Differences looks like what I want. Also he documents gracefully
falling back to is_deeply. I see no issue requiring it but the alternative
is cool.
On Feb 11, 2014 2:02 PM, "Shlomi Fish" wrote:
> Hi Shawn,
>
> On Tue, 11 Feb 2014 13:17:15 -0500
> shawn wilson wrote:
>
> > Is there a way t
Hi Shawn,
On Tue, 11 Feb 2014 13:17:15 -0500
shawn wilson wrote:
> Is there a way to see the data difference when is_deeply fails? proove
> -d doesn't give me the structure that fails. I end up 'print STDERR
> "one " . Dumper($foo); print STDERR 'two " . Dumper($bar);' which just
> doesn't seem
On Tue, Feb 11, 2014 at 10:17 AM, shawn wilson wrote:
> Is there a way to see the data difference when is_deeply fails?
So, with this code:
#! perl
use Test::More;
my $a = { foo => {bar => { baz => 'bargle' }}};
my $b = { foo => {baz => { bar => 'bargle' }}};
is_deeply( $a , $b );
done_testi
Is there a way to see the data difference when is_deeply fails? proove
-d doesn't give me the structure that fails. I end up 'print STDERR
"one " . Dumper($foo); print STDERR 'two " . Dumper($bar);' which just
doesn't seem like the right thing to do to figure out why a test is
failing?
--
To unsu