X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F020_basic_yaml.t;h=36ee6053a79d3609529a86111607e347136f1f60;hb=8d8356bb0a96c1c4e909b56c812b16fc82c7bbd2;hp=794f8838bef399aff7f520867e9acd969c732cbb;hpb=b477f392a4f593b3a02da32676b960522ace530f;p=gitmo%2FMooseX-Storage.git diff --git a/t/020_basic_yaml.t b/t/020_basic_yaml.t index 794f883..36ee605 100644 --- a/t/020_basic_yaml.t +++ b/t/020_basic_yaml.t @@ -3,10 +3,12 @@ use strict; use warnings; -use Test::More no_plan => 1; -use Test::YAML::Valid; +use Test::More; BEGIN { + eval "use Test::YAML::Valid"; + plan skip_all => "Test::YAML::Valid is required for this test" if $@; + plan tests => 12; use_ok('MooseX::Storage'); }