| 1 | #!/usr/bin/env perl |
| 2 | |
| 3 | use strict; |
| 4 | use warnings; |
| 5 | |
| 6 | use File::Basename; |
| 7 | use File::Spec; |
| 8 | use Test::More; |
| 9 | use Test::CheckManifest; |
| 10 | |
| 11 | use Cwd; |
| 12 | |
| 13 | local $ENV{NO_MANIFEST_CHECK} = 1; |
| 14 | |
| 15 | my $sub = Test::CheckManifest->can('_manifest_files'); |
| 16 | ok $sub; |
| 17 | |
| 18 | my $dir = dirname __FILE__; |
| 19 | my $manifest = File::Spec->catfile( $dir, '..', 'MANIFEST' ); |
| 20 | |
| 21 | my @files = $sub->( $dir, $manifest ); |
| 22 | ok @files; |
| 23 | |
| 24 | done_testing(); |