summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-08-18 23:36:20 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-08-18 23:36:53 +0200
commiteedeb08c569f6a0217577917463f42f52c4635f5 (patch)
treee26139afb54f5bec0366bdb453a8986fda46dad3
parenteaf1a3f24c2cc45ff2cec27837699bb433a7c3a0 (diff)
downloadperl-eedeb08c569f6a0217577917463f42f52c4635f5.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");