From: Nicholas Clark Date: Wed, 21 Oct 2009 09:10:05 +0000 (+0100) Subject: Fix precedence error in Module::CoreList's test, which was causing it to fail. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb35b2c24f8da5fb8fa1a50fbab1868d072191db;p=p5sagit%2Fp5-mst-13.2.git Fix precedence error in Module::CoreList's test, which was causing it to fail. --- diff --git a/dist/Module-CoreList/t/deprecated.t b/dist/Module-CoreList/t/deprecated.t index 8ee1825..1be2ed9 100644 --- a/dist/Module-CoreList/t/deprecated.t +++ b/dist/Module-CoreList/t/deprecated.t @@ -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)" );