Fix perlcritic test so it doesn't bomb if Perl::Critic isn't installed
Ash Berlin [Sun, 11 Nov 2007 14:02:13 +0000 (14:02 +0000)]
t/perlcritic.t

index 00999d9..a136942 100644 (file)
@@ -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"
     );