This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade CPAN-Meta from 2.150005 -> 2.150010 (Parse-CPAN-Meta now combined into this...
[perl5.git] / cpan / CPAN-Meta / t / parse-cpan-meta / 04_export.t
diff --git a/cpan/CPAN-Meta/t/parse-cpan-meta/04_export.t b/cpan/CPAN-Meta/t/parse-cpan-meta/04_export.t
new file mode 100644 (file)
index 0000000..b4766aa
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+
+delete $ENV{PERL_YAML_BACKEND};
+delete $ENV{PERL_JSON_BACKEND};
+
+# Testing of basic document structures
+
+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';