Permalink
Browse files

do not check for deprecation of removed lib

  • Loading branch information...
1 parent d069c09 commit 464b2b3dcc8158f7dee4ec9c9d06bd2f09c40687 @rjbs rjbs committed May 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 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),

0 comments on commit 464b2b3

Please sign in to comment.