Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.493 kb
#!perl -w
use strict;
use Test::More;
plan skip_all => "Only run as part of the dist"
unless -f "META.yml";
eval "use CPAN::Meta 2.110580;";
plan skip_all => "CPAN::Meta required for testing META.yml"
if $@;
plan skip_all => "Only if automated or author testing"
unless $ENV{AUTOMATED_TESTING} || -d "../.git";
plan tests => 1;
my $meta;
unless (ok(eval {
$meta = CPAN::Meta->load_file("META.yml",
{ lazy_validation => 0 }) },
"loaded META.yml successfully")) {
Jump to Line
Something went wrong with that request. Please try again.