summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-08-18 23:36:20 +0200
committerJesse Vincent <jesse@bestpractical.com>2010-08-25 13:21:40 -0400
commitb3513d7b20113ae5a28a7dacdcf8ae247afeda15 (patch)
treee314d5c602c217254079a90098a4793120892dec
parent38fbcf3d12524a913fc08bb2dd96daf836937d7d (diff)
downloadperl-b3513d7b20113ae5a28a7dacdcf8ae247afeda15.tar.gz
Ensure Filespec wont't show up in Module::Corelist
-rw-r--r--dist/Module-CoreList/t/corelist.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/Module-CoreList/t/corelist.t b/dist/Module-CoreList/t/corelist.t
index 0b85904e1c..d8e93bff2c 100644
--- a/dist/Module-CoreList/t/corelist.t
+++ b/dist/Module-CoreList/t/corelist.t
@@ -1,7 +1,7 @@
#!perl -w
use strict;
use Module::CoreList;
-use Test::More tests => 24;
+use Test::More tests => 25;
BEGIN { require_ok('Module::CoreList'); }
@@ -38,6 +38,9 @@ is(Module::CoreList::first_release('File::Spec'), 5.00405,
is(Module::CoreList::first_release('File::Spec', 0.82), 5.006_001,
"File::Spec reached 0.82 with 5.006_001");
+ok(!Module::CoreList::first_release('Filespec'),
+ "Filespec was never a core module. It's called VMS::Filespec");
+
is_deeply([ sort keys %Module::CoreList::released ],
[ sort keys %Module::CoreList::version ],
"have a note of everythings release");