X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F009_do_not_serialize_lazy.t;h=924206504a41f36f5030a9786c33f764d0d7d0fb;hb=c2d52f94beb56939250944a12df15d7d90779866;hp=527f2587cc054b7accf7a0a2fdffa84c165e837b;hpb=766ab81f59db9f3087e0011112ff2e69133a85c5;p=gitmo%2FMooseX-Storage.git diff --git a/t/009_do_not_serialize_lazy.t b/t/009_do_not_serialize_lazy.t index 527f258..9242065 100644 --- a/t/009_do_not_serialize_lazy.t +++ b/t/009_do_not_serialize_lazy.t @@ -1,10 +1,9 @@ -#!/usr/bin/perl - 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 +36,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' => $$,