[libdist-zilla-plugin-test-podspelling-perl] 84/86: Skip the test if there is no working spellchecker

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


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

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

commit 7ea4d763ba609e824033e4b5528f336e6d116b51
Author: Randy Stauner <randy at magnificent-tears.com>
Date:   Wed Oct 26 14:15:15 2011 -0700

    Skip the test if there is no working spellchecker
    
    Test::Spelling does this under the hood
    which causes confusing behavior when Test::Tester doesn't know.
---
 t/checked.t | 3 +++
 1 file changed, 3 insertions(+)

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

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