0.12
[gitmo/MooseX-Storage.git] / t / 100_io.t
index b494e10..fc5d0f5 100644 (file)
@@ -3,9 +3,12 @@
 use strict;
 use warnings;
 
-use Test::More tests => 10;
+use Test::More;
 
-BEGIN {
+BEGIN {  
+    eval "use JSON::Any";
+    plan skip_all => "JSON::Any is required for this test" if $@;         
+    plan tests => 10;    
     use_ok('MooseX::Storage');
 }