X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/11f5b115cd0e879dfc3f83a0bf63ee0fb1e140a9..07db47574b0c884a7988b405b17986c29c133248:/t/91-meta.t diff --git a/t/91-meta.t b/t/91-meta.t index 09447c1..31c5f62 100644 --- a/t/91-meta.t +++ b/t/91-meta.t @@ -2,10 +2,13 @@ use strict; use warnings; use Test::More; -eval 'use Test::CPAN::Meta::YAML'; -plan skip_all => "Test::CPAN::Meta::YAML required to test META.yml" if $@; -plan skip_all => "Test::CPAN::Meta::YAML v0.13 required to test META.yml correctly" - if $Test::CPAN::Meta::YAML::VERSION < 0.13; + +my @metatesters = ( + 'Test::CPAN::Meta::YAML 0.13', + 'Test::CPAN::Meta 0.14', +); +eval "use $_" and last for @metatesters; +plan skip_all => "Test::CPAN::Meta(::YAML) required to test META.yml" if $@; meta_yaml_ok();