make this test function properly when JSON backends aren't installed
[gitmo/MooseX-Storage.git] / t / 003_basic_w_embedded_objects.t
index 19d3edb..03ef4af 100644 (file)
@@ -1,9 +1,8 @@
-#!/usr/bin/perl
-
 use strict;
 use warnings;
 
 use Test::More tests => 47;
+use Test::Deep;
 
 BEGIN {
     use_ok('MooseX::Storage');
@@ -55,7 +54,7 @@ ArrayRef and HashRef type handlers.
     );
     isa_ok( $foo, 'Foo' );
 
-    is_deeply(
+    cmp_deeply(
         $foo->pack,
         {
             __CLASS__ => 'Foo',
@@ -101,7 +100,7 @@ ArrayRef and HashRef type handlers.
     );
     isa_ok( $baz, 'Baz' );
 
-    is_deeply(
+    cmp_deeply(
         $baz->pack,
         {
             __CLASS__ => 'Baz',