Permalink
Browse files

refactor test to not make wordlist/test optional

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
  • Loading branch information...
xenoterracide committed Apr 3, 2012
1 parent 5480fc1 commit 69296641b5e644205dcbf7710112e188dc43c2df
Showing with 4 additions and 11 deletions.
  1. +4 −11 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 }}
-

0 comments on commit 6929664

Please sign in to comment.