[Bps-public-commit] r13955 - Prophet/trunk/t

jesse at bestpractical.com jesse at bestpractical.com
Thu Jul 10 14:44:49 EDT 2008


Author: jesse
Date: Thu Jul 10 14:44:49 2008
New Revision: 13955

Modified:
   Prophet/trunk/t/01-dependencies.t

Log:
* Fix our dependency checking regex

Modified: Prophet/trunk/t/01-dependencies.t
==============================================================================
--- Prophet/trunk/t/01-dependencies.t	(original)
+++ Prophet/trunk/t/01-dependencies.t	Thu Jul 10 14:44:49 2008
@@ -49,7 +49,7 @@
     ok( open( MAKEFILE, "Makefile.PL" ), "Opened Makefile" );
     my $data = <MAKEFILE>;
     close(FILE);
-    while ( $data =~ /^\s*?(?:requires|recommends).*?([\w:]+)'(?:\s*=>\s*['"]?([\d\.]+)['"]?)?.*?(?:#(.*))?$/gm ) {
+    while ( $data =~ /^\s*?(?:requires|recommends|).*?([\w:]+)'(?:\s*=>\s*['"]?([\d\.]+)['"]?)?.*?(?:#(.*))?$/gm ) {
         $required{$1} = $2;
         if ( defined $3 and length $3 ) {
             $required{$_} = undef for split ' ', $3;



More information about the Bps-public-commit mailing list