Skip to content

Commit

Permalink
Prelude sections for Test::Synopsis and Pod::Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
doherty committed Oct 19, 2016
1 parent 387e180 commit a3bc5fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 5 additions & 3 deletions lib/Dist/Zilla/Plugin/MinimumVersionTests.pm
Expand Up @@ -14,9 +14,11 @@ In C<dist.ini>:
[Test::MinimumVersion]
=for test_synopsis
1;
__END__
=begin :prelude
=for test_synopsis BEGIN { die "SKIP: Synopsis isn't Perl code" }
=end :prelude
=cut

Expand Down
10 changes: 7 additions & 3 deletions lib/Dist/Zilla/Plugin/Test/MinimumVersion.pm
Expand Up @@ -53,9 +53,13 @@ In C<dist.ini>:
[Test::MinimumVersion]
max_target_perl = 5.10.1
=for test_synopsis
1;
__END__
=begin :prelude
=for test_synopsis BEGIN { die "SKIP: Synopsis isn't Perl code" }
=for Pod::Coverage register_prereqs
=end :prelude
=head1 DESCRIPTION
Expand Down

0 comments on commit a3bc5fe

Please sign in to comment.