summaryrefslogtreecommitdiff
path: root/cpan/Parse-CPAN-Meta/t/01_compile.t
blob: 7e64db791791cdf9112950a8f3dcbad8dfcb745f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl

# Load testing for YAML::Tiny

BEGIN {
	if( $ENV{PERL_CORE} ) {
		chdir 't';
		@INC = ('../lib', 'lib');
	}
	else {
		unshift @INC, 't/lib/';
	}
}

use strict;
BEGIN {
	$|  = 1;
	$^W = 1;
}

use File::Spec::Functions ':ALL';
use Test::More tests => 3;

# Check their perl version
ok( $] >= 5.004, "Your perl is new enough" );

# Does the module load
use_ok( 'Parse::CPAN::Meta' );
use_ok( 'Parse::CPAN::Meta::Test' );