From: Abigail Date: Tue, 24 Apr 2007 00:37:15 +0000 (+0200) Subject: Fix warning. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=52a0f4ccb02fbcfcbdb9502ee6f9781ae1488dd7;p=p5sagit%2Fp5-mst-13.2.git Fix warning. Message-ID: <20070423223715.GB544@abigail.nl> p4raw-id: //depot/perl@31124 --- diff --git a/lib/ExtUtils/t/MM_Unix.t b/lib/ExtUtils/t/MM_Unix.t index f9b07f8..1930e35 100644 --- a/lib/ExtUtils/t/MM_Unix.t +++ b/lib/ExtUtils/t/MM_Unix.t @@ -37,7 +37,9 @@ my $os = ($ExtUtils::MM_Unix::Is_OS2 || 0) + ($ExtUtils::MM_Unix::Is_VMS || 0); ok ( $os <= 1, 'There can be only one (or none)'); -cmp_ok ($ExtUtils::MM_Unix::VERSION, '>=', '1.12606', 'Should be at least version 1.12606'); +my $version = $ExtUtils::MM_Unix::VERSION; + $version =~ s/_//g; +cmp_ok ($version, '>=', '1.12606', 'Should be at least version 1.12606'); # when the following calls like canonpath, catdir etc are replaced by # File::Spec calls, the test's become a bit pointless