Move Params::Check from ext/ to cpan/
[p5sagit/p5-mst-13.2.git] / ext / Parse-CPAN-Meta / t / 01_compile.t
1 #!/usr/bin/perl
2
3 # Load testing for YAML::Tiny
4
5 BEGIN {
6         if( $ENV{PERL_CORE} ) {
7                 chdir 't';
8                 @INC = ('../lib', 'lib');
9         }
10         else {
11                 unshift @INC, 't/lib/';
12         }
13 }
14
15 use strict;
16 BEGIN {
17         $|  = 1;
18         $^W = 1;
19 }
20
21 use File::Spec::Functions ':ALL';
22 use Test::More tests => 3;
23
24 # Check their perl version
25 ok( $] >= 5.004, "Your perl is new enough" );
26
27 # Does the module load
28 use_ok( 'Parse::CPAN::Meta' );
29 use_ok( 'Parse::CPAN::Meta::Test' );