Skip to content

Commit

Permalink
Merge pull request #5 from ruz/fudge-perl-5.8-compat
Browse files Browse the repository at this point in the history
[fudge] return back compatibility with perl 5.8
  • Loading branch information
Anthony Parsons committed Aug 7, 2011
2 parents fa782c1 + 6c36d55 commit 0fbf292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fudge
Expand Up @@ -207,7 +207,7 @@ sub fudgeblock {
else {
my $does = join '|', keys %DOES;
next unless /^\s*($IS|$does)/;
$numtests = $DOES{$1} // 1;
$numtests = defined $DOES{$1}? $DOES{$1} : 1;
}
$PENDING--;
$_ = "{ " . $_ . " }";
Expand Down

0 comments on commit 0fbf292

Please sign in to comment.