Don't delete tests we didn't create
Dave Rolsky [Wed, 18 Feb 2009 20:21:41 +0000 (20:21 +0000)]
extract-inline-tests

index a710ec1..d91fa43 100755 (executable)
@@ -83,7 +83,7 @@ use Test::Inline;
 
 my $target = 't/000_recipes';
 
-for my $t_file ( File::Find::Rule->file->name(qr/\.t$/)->in($target) ) {
+for my $t_file ( File::Find::Rule->file->name(qr/^moose_cookbook_\.t$/)->in($target) ) {
     unlink $t_file or die "Cannot unlink $t_file: $!";
 }