[libdist-zilla-plugin-test-podspelling-perl] 05/09: ensure test requires appropriately if on windows
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:04:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.004002
in repository libdist-zilla-plugin-test-podspelling-perl.
commit bf9763e1faaac07b31cc6d68fcc067c91160084f
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Fri Mar 1 22:19:25 2013 -0600
ensure test requires appropriately if on windows
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
dist.ini | 1 -
t/checked.t | 6 +++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dist.ini b/dist.ini
index 989dc98..fe32be2 100644
--- a/dist.ini
+++ b/dist.ini
@@ -8,7 +8,6 @@ copyright_holder = Caleb Cushing
[Bootstrap::lib]
[Prereqs]
-Test::Spelling = 0.17
Pod::Wordlist::hanekomu = 0
[ReadmeFromPod]
diff --git a/t/checked.t b/t/checked.t
index 30ad1e8..55fbd2e 100644
--- a/t/checked.t
+++ b/t/checked.t
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Test::Tester;
use Test::More 0.88;
-use Test::Spelling 0.17;
+use Test::Requires;
use Dist::Zilla::Tester;
use Path::Class;
@@ -13,6 +13,10 @@ use English '-no_match_vars';
BEGIN {
plan skip_all => 'Perl must be in your path for these tests'
unless qx/perl -e "print 123"/ == 123;
+
+ if ( $OSNAME eq 'MSWin32' ) {
+ test_requires( 'Test::Spelling' => 0.17 );
+ }
}
# This test uses a custom "spell checker" defined in corpus/*/dist.ini
--
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