From: Ash Berlin Date: Sun, 11 Nov 2007 14:02:13 +0000 (+0000) Subject: Fix perlcritic test so it doesn't bomb if Perl::Critic isn't installed X-Git-Tag: 0_06~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=887bd574ed2426fb32f09173f870bc48ea037132;p=gitmo%2FMooseX-Daemonize.git Fix perlcritic test so it doesn't bomb if Perl::Critic isn't installed --- diff --git a/t/perlcritic.t b/t/perlcritic.t index 00999d9..a136942 100644 --- a/t/perlcritic.t +++ b/t/perlcritic.t @@ -1,7 +1,7 @@ #!perl use Test::More; eval "require Test::Perl::Critic"; -if (! $@) { +if ($@) { Test::More::plan( skip_all => "Test::Perl::Critic required for testing PBP compliance" );