summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),