This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Module-Metadata from version 1.000022 to 1.000023
[perl5.git] / cpan / Module-Metadata / t / endpod.t
1 use strict;
2 use warnings;
3 use Test::More tests => 2;
4 use Module::Metadata;
5
6 # This test case tests about parsing pod after `__END__` token.
7
8 my $pm_info = Module::Metadata->new_from_file('t/lib/ENDPOD.pm', collect_pod => 1,);
9 is( $pm_info->name, 'ENDPOD', 'found default package' );
10 is(join(',', $pm_info->pod_inside), 'NAME');