From: Rafael Garcia-Suarez Date: Thu, 6 Sep 2007 13:23:02 +0000 (+0000) Subject: Fix CPANPLUS test to work with 5.10.0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=72c9b87ddf5e6ebf3f889e34a140a62a01acd205;p=p5sagit%2Fp5-mst-13.2.git Fix CPANPLUS test to work with 5.10.0 p4raw-id: //depot/perl@31800 --- diff --git a/lib/CPANPLUS/t/00_CPANPLUS-Internals-Utils.t b/lib/CPANPLUS/t/00_CPANPLUS-Internals-Utils.t index 83a4095..5634b1a 100644 --- a/lib/CPANPLUS/t/00_CPANPLUS-Internals-Utils.t +++ b/lib/CPANPLUS/t/00_CPANPLUS-Internals-Utils.t @@ -73,7 +73,7 @@ rmdir $Dir if -d $Dir; ### _perl_version tests ### { my $version = $Class->_perl_version( perl => $^X ); ok( $version, "Perl version found" ); - like( $version, qr/\d.\d.\d/, " Looks like a proper version" ); + like( $version, qr/\d.\d+.\d+/, " Looks like a proper version" ); } ### _version_to_number tests ###