[libdist-zilla-plugin-test-podspelling-perl] 02/09: attempt to fix test so that it skips properly

Axel Beckert abe at deuxchevaux.org
Mon May 25 10:02:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 2.001002
in repository libdist-zilla-plugin-test-podspelling-perl.

commit 6cedac45da75746ed33cc29cf917ccfc85894a45
Author: Caleb Cushing <xenoterracide at gmail.com>
Date:   Sat Nov 26 16:36:37 2011 -0600

    attempt to fix test so that it skips properly
    
    Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
 t/checked.t | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/t/checked.t b/t/checked.t
index d5dde44..49a4a96 100644
--- a/t/checked.t
+++ b/t/checked.t
@@ -8,8 +8,10 @@ use Dist::Zilla::Tester;
 use Path::Class;
 use Cwd ();
 
-plan skip_all => 'No working spellchecker found'
-  unless Test::Spelling::has_working_spellchecker();
+BEGIN {
+	plan skip_all => 'No working spellchecker found'
+		unless has_working_spellchecker;
+}
 
 # lib/ and bin/
 spell_check_dist( foo   => [file(qw(bin foo)) => {ok => 0}], file(qw(lib Foo.pm)) );

-- 
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