Fix CPANPLUS test to work with 5.10.0
Rafael Garcia-Suarez [Thu, 6 Sep 2007 13:23:02 +0000 (13:23 +0000)]
p4raw-id: //depot/perl@31800

lib/CPANPLUS/t/00_CPANPLUS-Internals-Utils.t

index 83a4095..5634b1a 100644 (file)
@@ -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 ###