X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/80bf896339924929e295784d34deb8bc6997de13..07db47574b0c884a7988b405b17986c29c133248:/t/91-meta.t diff --git a/t/91-meta.t b/t/91-meta.t index 8d65d18..31c5f62 100644 --- a/t/91-meta.t +++ b/t/91-meta.t @@ -2,8 +2,13 @@ use strict; use warnings; use Test::More; -eval 'use Test::YAML::Meta'; -plan skip_all => "Test::YAML::Meta required for testing META.yml" if $@; + +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();