This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to MakeMaker 6.30_04
[perl5.git] / lib / ExtUtils / t / revision.t
CommitLineData
2977d345
RGS
1#!/usr/bin/perl -w
2
3BEGIN {
4 if( $ENV{PERL_CORE} ) {
5 chdir 't' if -d 't';
6 @INC = ('../lib', 'lib');
7 }
8 else {
9 unshift @INC, 't/lib';
10 }
11}
12
13use Test::More tests => 4;
14
15BEGIN {
16 use_ok 'ExtUtils::MakeMaker';
17 use_ok 'ExtUtils::MM_VMS';
18}
19
58d32538
RGS
20# Why 1? Because a common mistake is for the regex to run in scalar context
21# thus getting the count of captured elements (1) rather than the value of $1
22cmp_ok $ExtUtils::MakeMaker::Revision, '>', 1;
23cmp_ok $ExtUtils::MM_VMS::Revision, '>', 1;