make this test function properly when JSON backends aren't installed
[gitmo/MooseX-Storage.git] / t / 009_do_not_serialize_lazy.t
index 527f258..9242065 100644 (file)
@@ -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' => $$,