From: Ricardo Signes Date: Thu, 20 May 2010 12:29:40 +0000 (-0400) Subject: do not check for deprecation of removed lib X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=464b2b3dcc8158f7dee4ec9c9d06bd2f09c40687;p=p5sagit%2Fp5-mst-13.2.git do not check for deprecation of removed lib --- diff --git a/dist/Module-CoreList/t/deprecated.t b/dist/Module-CoreList/t/deprecated.t index 1be2ed9..00df561 100644 --- a/dist/Module-CoreList/t/deprecated.t +++ b/dist/Module-CoreList/t/deprecated.t @@ -18,8 +18,8 @@ ok(exists $Module::CoreList::deprecated{5.011000}{'Switch'}, "Switch deprecated in 5.011000 (hash)" ); -is(!! Module::CoreList::is_deprecated('Switch'), !! ($] >= 5.011), - "Switch deprecated current perl (function)" +is(!! Module::CoreList::is_deprecated('Switch'), !! ($] >= 5.011 and $] < 5.013001 ), + "Switch deprecated current perl (if pre-5.13.1.) (function)" ); ok(! Module::CoreList::is_deprecated('Switch', 5.010000),