summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2010-05-20 08:29:40 -0400
committerJesse Vincent <jesse@bestpractical.com>2010-08-25 13:21:17 -0400
commit943e59781d544589a2e32c129270f367beb7a5a5 (patch)
tree1cd8987a6dbc6e9d477883bd41b647c7f5b38b22
parente6694fa2fe4cba2fa8da1eaaaa694f572df075ab (diff)
downloadperl-943e59781d544589a2e32c129270f367beb7a5a5.tar.gz
do not check for deprecation of removed lib
-rw-r--r--dist/Module-CoreList/t/deprecated.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/Module-CoreList/t/deprecated.t b/dist/Module-CoreList/t/deprecated.t
index 1be2ed9368..00df561a75 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),