Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo in fudged test s/X::Adhoc/X::AdHoc/
  • Loading branch information
niner committed Jul 4, 2015
1 parent 0d1ab4c commit 00ea8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S06-signature/definite-return.t
Expand Up @@ -39,7 +39,7 @@ PERL
{
my $code = q:to/PERL/;
my sub return-failure(--> Nil) {
return Failure.new(X::Adhoc.new(4))
return Failure.new(X::AdHoc.new(4))
}
PERL
eval-dies-ok($code, 'A function with a definite return value may not use return with a value, even a Failure')
Expand Down

0 comments on commit 00ea8c8

Please sign in to comment.