Browse files

Remove an undef warning when using the "explicitly named tests" funct…

…ionality
  • Loading branch information...
1 parent af1d381 commit 73f239ebc22bcff28cdcaed9153798f9d630c372 @obra obra committed Feb 16, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Test/Continuous.pm
View
2 lib/Test/Continuous.pm
@@ -140,7 +140,7 @@ sub _analyze_tap_archive {
sub runtests {
if (@ARGV) {
# print "ARGV: " . join ",",@ARGV, "\n";
- while (-f $ARGV[-1]) {
+ while ($ARGV[-1] && -f $ARGV[-1]) {
push @tests, pop @ARGV;
}
@prove_args = @ARGV;

0 comments on commit 73f239e

Please sign in to comment.