From: Florian Ragwitz Date: Mon, 14 Mar 2011 04:49:59 +0000 (+0100) Subject: Fix recipes path for our GatherDir plugin X-Git-Tag: 1.9905~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d9b348077e8eac997cf7c6286ae47b61b14278c;p=gitmo%2FMoose.git Fix recipes path for our GatherDir plugin I broke this while renaming the tests. --- diff --git a/inc/GatherDir.pm b/inc/GatherDir.pm index d21793f..cdf3d87 100644 --- a/inc/GatherDir.pm +++ b/inc/GatherDir.pm @@ -8,8 +8,8 @@ around _file_from_filename => sub { my $orig = shift; my $self = shift; my $file = $self->$orig(@_); - return $file if $file->name =~ m+^t/002_recipes/basics_recipe10\.t+; - return () if $file->name =~ m+^t/002_recipes+; + return $file if $file->name =~ m+^t/recipes/basics_recipe10\.t+; + return () if $file->name =~ m+^t/recipes+; return $file; };