3 use Test::More tests => 3;
12 open my $fh, '<', \$src;
13 my $module = Module::Metadata->new_from_handle($fh, 'Foo.pm');
14 ok(!$module->contains_pod(), 'This module does not contains POD');
27 open my $fh, '<', \$src;
28 my $module = Module::Metadata->new_from_handle($fh, 'Foo.pm');
29 ok($module->contains_pod(), 'This module contains POD');
46 open my $fh, '<', \$src;
47 my $module = Module::Metadata->new_from_handle($fh, 'Foo.pm');
48 ok($module->contains_pod(), 'This module contains POD');