X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthor%2Ftabs.t;h=b794cee5af2d30fe1faa2bbfb77706664d30665b;hb=42c0634336fede6dd9ef469f600828bd213e941d;hp=1b9c5b929d9d7f71eb262c6a268b1f8a3c0b0847;hpb=07951478a041b8913d5cd6bd12c3a860b43e6a36;p=gitmo%2FMooseX-Singleton.git diff --git a/xt/author/tabs.t b/xt/author/tabs.t index 1b9c5b9..b794cee 100644 --- a/xt/author/tabs.t +++ b/xt/author/tabs.t @@ -5,8 +5,9 @@ use warnings; use Test::More; -eval "use Test::NoTabs 0.8"; -plan skip_all => "Test::NoTabs 0.8 required for testing tabs" if $@; +use Test::Requires { + 'Test::NoTabs' => '0.8', # skip all if not installed +}; # Module::Install has tabs, so we can't check 'inc' or ideally '.' all_perl_files_ok('lib', 't', 'xt');