X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F040_basic_utils.t;h=a969836b5fde25d00f93372244838611daf48704;hb=3f3dcd72365ac2254a802c0f77bbecc3a02c7b84;hp=8d2e299d0784bb42826bec1d10478871ad4af528;hpb=c2dae5d88280be6f80857e79194f092298f88b36;p=gitmo%2FMooseX-Storage.git diff --git a/t/040_basic_utils.t b/t/040_basic_utils.t index 8d2e299..a969836 100644 --- a/t/040_basic_utils.t +++ b/t/040_basic_utils.t @@ -62,6 +62,7 @@ SKIP: { MooseX::Storage::Util->peek($json => ('format' => 'JSON')) }; if ($@ =~ /^Could not load JSON module because/) { + die 'No JSON module found' if $ENV{AUTHOR_TESTING}; skip "No JSON module found", 1; } @@ -76,6 +77,7 @@ SKIP: { if ($@ =~ /^Could not load YAML module because/ or $@ =~ /^Can't locate Best/ ) { + die 'No YAML module found' if $ENV{AUTHOR_TESTING}; skip "No YAML module found", 1; }