[libdist-zilla-plugin-test-podspelling-perl] 01/11: refactor test to not make wordlist/test optional
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:03:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.002003
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 69296641b5e644205dcbf7710112e188dc43c2df
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Tue Apr 3 12:39:04 2012 -0500
refactor test to not make wordlist/test optional
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index b663bf7..2907a32 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -163,22 +163,15 @@ mvp_multivalue_args
=cut
__DATA__
___[ xt/author/pod-spell.t ]___
-#!perl
-
# This test is generated by Dist::Zilla::Plugin::Test::PodSpelling
-
+use strict;
+use warnings;
use Test::More;
-eval "use {{ $wordlist }}";
-plan skip_all => "{{ $wordlist }} required for testing POD spelling"
- if $@;
-
-eval "use Test::Spelling 0.12";
-plan skip_all => "Test::Spelling 0.12 required for testing POD spelling"
- if $@;
+use {{ $wordlist }};
+use Test::Spelling 0.12;
{{ $set_spell_cmd }}
{{ $add_stopwords }}
all_pod_files_spelling_ok('bin', 'lib');
{{ $stopwords }}
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git
More information about the Pkg-perl-cvs-commits
mailing list