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');
done_testing;