X-Git-Url: http://git.shiar.nl/perl/plp/.git/blobdiff_plain/eb35960841709b828643bdf9792ecf627f0a1349..07db47574b0c884a7988b405b17986c29c133248:/t/91-meta.t diff --git a/t/91-meta.t b/t/91-meta.t index d5e720b..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::YAML::Meta'; -plan skip_all => "Test::YAML::Meta required to test META.yml" if $@; -plan skip_all => "Test::YAML::Meta v0.10 required to test META.yml correctly" - if $Test::YAML::Meta::VERSION < 0.10; + +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();