This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bisect.pl now accepts repeated -e options, just like perl.
[perl5.git] / cpan / Parse-CPAN-Meta / t / 01_compile.t
CommitLineData
be96f5c3
SM
1#!/usr/bin/perl
2
f87dacdb
CBW
3delete $ENV{PERL_YAML_BACKEND};
4delete $ENV{PERL_JSON_BACKEND};
5
be96f5c3
SM
6BEGIN {
7 if( $ENV{PERL_CORE} ) {
8 chdir 't';
9 @INC = ('../lib', 'lib');
10 }
11 else {
12 unshift @INC, 't/lib/';
13 }
14}
15
16use strict;
17BEGIN {
18 $| = 1;
19 $^W = 1;
20}
21
22use File::Spec::Functions ':ALL';
23use Test::More tests => 3;
24
25# Check their perl version
26ok( $] >= 5.004, "Your perl is new enough" );
27
28# Does the module load
29use_ok( 'Parse::CPAN::Meta' );
30use_ok( 'Parse::CPAN::Meta::Test' );