This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to CPAN-1.83_58
[perl5.git] / lib / CPAN / t / version.t
CommitLineData
554a9ef5
SP
1# test if our own version numbers meet expectations
2
0a78cd5d 3use strict;
c7588fc8
RGS
4eval 'use warnings';
5my @m = qw(CPAN CPAN::FirstTime CPAN::Nox CPAN::Version);
6push @m, 'CPAN::Admin' unless $ENV{PERL_CORE};
554a9ef5
SP
7
8use Test::More;
f3fe0ae6 9plan(tests => scalar @m);
554a9ef5
SP
10
11for my $m (@m) {
0a78cd5d 12 local $^W = 0;
554a9ef5
SP
13 eval "require $m";
14 ok($m->VERSION >= 1.76, sprintf "%20s: %s", $m, $m->VERSION);
15}
16
17# Local Variables:
18# mode: cperl
19# cperl-indent-level: 2
20# End: