X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_with_checksum.t;h=98925004a6340c2ec61ee744c0f344bb30ccc606;hb=8919e01e95856d3dd17037352ef93275cdcf2fbd;hp=a87a163ec04ea26782a08bf00e2567f7a39cffd7;hpb=e51e487dbbabe04b494a258ab0f99f4647e99e37;p=gitmo%2FMooseX-Storage.git diff --git a/t/030_with_checksum.t b/t/030_with_checksum.t index a87a163..9892500 100644 --- a/t/030_with_checksum.t +++ b/t/030_with_checksum.t @@ -9,8 +9,10 @@ use Test::Deep; BEGIN { eval "use Digest; use Digest::SHA1"; - plan skip_all => "Digest and Digest::SHA1 is required for this test" if $@; - plan tests => 25; + plan skip_all => "Digest and Digest::SHA1 is required for this test" if $@; + eval "use JSON::Any"; + plan skip_all => "JSON::Any is required for this test" if $@; + plan tests => 26; use_ok('MooseX::Storage'); } @@ -115,7 +117,7 @@ BEGIN { SKIP: { eval { require Digest::HMAC_SHA1 }; - skip join( " ", "no Digest::HMAC", ( $@ =~ /\@INC/ ? () : do { chomp(my $e = $@); "($e)" } ) ), 14 if $@; + skip join( " ", "no Digest::HMAC", ( $@ =~ /\@INC/ ? () : do { chomp(my $e = $@); "($e)" } ) ), 15 if $@; local $::DEBUG = 1;