write test for L<text|scheme:...> first
Paul Miller
14 years ago
22 | 22 |
t/spaced-directives.t
|
23 | 23 |
t/unknown-directive.pod
|
24 | 24 |
t/unknown-directive.t
|
|
25 |
t/a-href-L.pod
|
|
26 |
t/a-href-L.t
|
|
27 |
|
25 | 28 |
META.yml Module meta-data (added by MakeMaker)
|
|
0 |
=head1 COPYRIGHT
|
|
1 |
|
|
2 |
Copyright 2009, Paul Miller C<< <jettero@cpan.org> >>
|
|
3 |
|
|
4 |
=head1 SEE ALSO
|
|
5 |
|
|
6 |
Invalid according to L<perlpod/Formatting Codes>:
|
|
7 |
|
|
8 |
L<Paul's Perl Modules|http://voltar.org/perl>
|
|
9 |
|
|
10 |
=cut
|
|
11 |
|
|
0 |
#!perl -T
|
|
1 |
|
|
2 |
use strict;
|
|
3 |
|
|
4 |
use Test::Builder::Tester tests => 2;
|
|
5 |
use Test::More;
|
|
6 |
|
|
7 |
BEGIN {
|
|
8 |
use_ok( 'Test::Pod' );
|
|
9 |
}
|
|
10 |
|
|
11 |
my $file = 't/a-href-L.pod';
|
|
12 |
test_out( "not ok 1 - POD test for $file" );
|
|
13 |
pod_file_ok( $file );
|
|
14 |
test_fail(-1);
|
|
15 |
test_diag(
|
|
16 |
"$file (9): L<text|scheme:...> is invalid according to perlpod",
|
|
17 |
);
|
|
18 |
test_test( "$file is bad" );
|