fixed incorrect eval for skip
[catagits/Catalyst-Runtime.git] / t / unicode_plugin_live.t
index 87d9061..901ae84 100644 (file)
@@ -8,9 +8,9 @@ use FindBin qw($Bin);
 use lib "$Bin/lib";
 
 BEGIN {
-if ( !eval { require Test::WWW::Mechanize::Catalyst } || ! Test::WWW::Mechanize::Catalyst->VERSION('0.51') ) {
+  if ( !eval { require Test::WWW::Mechanize::Catalyst; Test::WWW::Mechanize::Catalyst->VERSION('0.51') } ) {
     plan skip_all => 'Need Test::WWW::Mechanize::Catalyst for this test';
-}
+  }
 }
 
 # make sure testapp works