From d3b95ef421d0174af37ba06f4059f09e0ebcc34f Mon Sep 17 00:00:00 2001 From: Stanislaw Pusep Date: Mon, 6 Jul 2015 12:36:13 +0200 Subject: [PATCH] Pass coverage tests --- README.pod | 8 +++++--- lib/Dist/Zilla/Plugin/MojibakeTests.pm | 6 +++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.pod b/README.pod index f56b29a..c4c1567 100644 --- a/README.pod +++ b/README.pod @@ -4,11 +4,11 @@ =head1 NAME -Dist::Zilla::Plugin::MojibakeTests - Release tests for source encoding +Dist::Zilla::Plugin::MojibakeTests - Author tests for source encoding =head1 VERSION -version 0.7 +version 0.8 =head1 SYNOPSIS @@ -20,7 +20,9 @@ In F: This is an extension of L, providing the following file: - xt/release/mojibake.t - a standard Test::Mojibake test + xt/author/mojibake.t - a standard Test::Mojibake test + +=for Pod::Coverage register_prereqs =for test_synopsis 1; __END__ diff --git a/lib/Dist/Zilla/Plugin/MojibakeTests.pm b/lib/Dist/Zilla/Plugin/MojibakeTests.pm index 4e36a3e..6090109 100644 --- a/lib/Dist/Zilla/Plugin/MojibakeTests.pm +++ b/lib/Dist/Zilla/Plugin/MojibakeTests.pm @@ -10,9 +10,13 @@ use Moose; extends q(Dist::Zilla::Plugin::InlineFiles); with 'Dist::Zilla::Role::PrereqSource'; +=for Pod::Coverage +register_prereqs +=cut + sub register_prereqs { my $self = shift; - $self->zilla->register_prereqs( + return $self->zilla->register_prereqs( { type => 'requires', phase => 'develop',