diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2014-09-14 14:53:57 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2014-09-14 14:59:37 +0100 |
commit | ee2820c629170cc93736e5aa2e280d90b05893b6 (patch) | |
tree | ad8f3c64ba0aedce22df4c987346d7cb849039db /dist | |
parent | a25e25cd8e0a9e4339e0be02c828ce1a1c133528 (diff) | |
download | perl-ee2820c629170cc93736e5aa2e280d90b05893b6.tar.gz |
Remove the corevers.t from Module-CoreList and amend corelist porting test
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Module-CoreList/t/corevers.t | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/dist/Module-CoreList/t/corevers.t b/dist/Module-CoreList/t/corevers.t deleted file mode 100644 index 09d5d72da0..0000000000 --- a/dist/Module-CoreList/t/corevers.t +++ /dev/null @@ -1,21 +0,0 @@ -#!perl -w -use strict; -use Test::More; - -plan skip_all => 'This is perl core-only test' unless $ENV{PERL_CORE}; -plan skip_all => 'Special case v5.21.1 because rjbs' if sprintf("v%vd", $^V) eq 'v5.21.1'; - -my @modules = qw[ - Module::CoreList - Module::CoreList::Utils - Module::CoreList::TieHashDelta -]; - -plan tests => scalar @modules; - -foreach my $mod ( @modules ) { - eval "require $mod"; - my $vers = eval $mod->VERSION; - ok( !( $vers < $] || $vers > $] ), "$mod version should match perl version in core" ) - or diag("$mod $vers doesn't match $]"); -} |