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