Fix precedence error in Module::CoreList's test, which was causing it to fail.
Nicholas Clark [Wed, 21 Oct 2009 09:10:05 +0000 (10:10 +0100)]
dist/Module-CoreList/t/deprecated.t

index 8ee1825..1be2ed9 100644 (file)
@@ -18,7 +18,7 @@ ok(exists $Module::CoreList::deprecated{5.011000}{'Switch'},
    "Switch deprecated in 5.011000 (hash)"
 );
 
-is(!! Module::CoreList::is_deprecated('Switch'), !! $] >= 5.011,
+is(!! Module::CoreList::is_deprecated('Switch'), !! ($] >= 5.011),
    "Switch deprecated current perl (function)"
 );