Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 400 Bytes
use strict;
use Test::More;
eval "use Parse::CPAN::Meta";
plan skip_all => "Parse::CPAN::Meta required for testing META.yml" unless eval "use Parse::CPAN::Meta; 1;";
plan skip_all => "There is no META.yml" unless -f "META.yml";
my $meta = Parse::CPAN::Meta->load_file('META.yml');
isnt($meta->{author}->[0], 'unknown');
cmp_ok($meta->{'build_requires'}->{'Test::More'}, '>=', '0.98');
done_testing;