Fix test-skipping logic for File::Glob under no-taint-perl
authorSteffen Mueller <smueller@cpan.org>
Mon, 19 Nov 2012 06:48:03 +0000 (07:48 +0100)
committerSteffen Mueller <smueller@cpan.org>
Mon, 19 Nov 2012 06:48:03 +0000 (07:48 +0100)
ext/File-Glob/t/taint.t

index aab379b..4751303 100644 (file)
@@ -14,8 +14,8 @@ use Test::More;
 BEGIN {
     plan(
         ${^TAINT}
-        ? (skip_all => "Appear to running a perl without taint support")
-        : (tests => 2)
+        ? (tests => 2)
+        : (skip_all => "Appear to running a perl without taint support")
     );
 }