Test::TempDir
[gitmo/MooseX-Storage.git] / t / 020_basic_yaml.t
index ab37909..87e3fae 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-
+$|++;
 use strict;
 use warnings;
 
@@ -7,7 +7,9 @@ use Test::More;
 
 BEGIN {
     eval "use Test::YAML::Valid";
-    plan skip_all => "Test::YAML::Valid is required for this test" if $@;        
+    plan skip_all => "Test::YAML::Valid is required for this test" if $@;            
+    eval "use Best [[qw(YAML::Syck YAML)]]";
+    plan skip_all => "YAML or YAML::syck and Best are required for this test" if $@;            
     plan tests => 12;
     use_ok('MooseX::Storage');
 }