X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Singleton.git;a=blobdiff_plain;f=xt%2Fauthor%2Fpod-spell.t;fp=xt%2Fauthor%2Fpod-spell.t;h=fa10955560b4cfb23fb189147e202416ff5db559;hp=904a2366a4dbf64ec7511f23895ff063d0bf4286;hb=42c0634336fede6dd9ef469f600828bd213e941d;hpb=07951478a041b8913d5cd6bd12c3a860b43e6a36 diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t index 904a236..fa10955 100644 --- a/xt/author/pod-spell.t +++ b/xt/author/pod-spell.t @@ -2,8 +2,10 @@ use strict; use warnings; use Test::More; -eval 'use Test::Spelling;'; -plan skip_all => "Test::Spelling required for testing POD spelling" if $@; + +use Test::Requires { + 'Test::Spelling' => '0.01', # skip all if not installed +}; my @stopwords; for () {