X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F009_do_not_serialize_lazy.t;h=3a6c9cc4f22f194aa92975e6c4b730ff6225a4f2;hb=619ab942be0a8bd8f530c57ca5b0c8d833cdc89b;hp=54331bfdfebdcf7197fc12bc52944412d3193195;hpb=b5f363acfcf077778dd4f3b59460a0cbb9e51400;p=gitmo%2FMooseX-Storage.git diff --git a/t/009_do_not_serialize_lazy.t b/t/009_do_not_serialize_lazy.t index 54331bf..3a6c9cc 100644 --- a/t/009_do_not_serialize_lazy.t +++ b/t/009_do_not_serialize_lazy.t @@ -4,7 +4,8 @@ use strict; use warnings; use Test::More 'no_plan';#tests => 6; -use Test::Exception; +use Test::Deep; +use Test::Fatal; BEGIN { use_ok('MooseX::Storage'); @@ -37,7 +38,7 @@ is( $href->{'x'}, $$, " x => $$" ); is( $href->{'z'}, 'z', " z => z" ); ok( not(exists($href->{'y'})), " y does not exist" ); -is_deeply( +cmp_deeply( $href, { '__CLASS__' => 'Point', 'x' => $$,