canonical repository moved to https://github.com/Perl-Toolchain-Gang/Module-Metadata
[p5sagit/Module-Metadata.git] / t / endpod.t
index 6ee0ff2..815ec91 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 use utf8;
-use Test::More;
+use Test::More tests => 2;
 use Module::Metadata;
 
 # This test case tests about parsing pod after `__END__` token.
@@ -9,6 +9,3 @@ use Module::Metadata;
 my $pm_info = Module::Metadata->new_from_file('t/lib/ENDPOD.pm', collect_pod => 1,);
 is( $pm_info->name, 'ENDPOD', 'found default package' );
 is(join(',', $pm_info->pod_inside), 'NAME');
-
-done_testing;
-