summaryrefslogtreecommitdiff
path: root/cpan/Parse-CPAN-Meta/t/04_export.t
blob: f82cc91cf6955bcc014fa1ce2fd27b7ad47ead2a (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

# Testing of basic document structures

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

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

use Test::More tests => 4;
use Parse::CPAN::Meta;



ok not(defined &main::Load), 'Load is not exported';
ok not(defined &main::Dump), 'Dump is not exported';
ok not(defined &main::LoadFile), 'LoadFile is not exported';
ok not(defined &main::DumpFile), 'DumpFile is not exported';