Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect check for param WHEREFORE
  • Loading branch information
hoelzro committed Aug 2, 2014
1 parent 8c77c44 commit 8c03955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S26-documentation/why-leading.t
Expand Up @@ -207,7 +207,7 @@ sub has-two-params(
Int $second
) {}

ok $=pod[$pod_index].WHEREFORE === &has-parameter.signature.params[0], 'param WHEREFORE from $=pod';
ok $=pod[$pod_index].WHEREFORE === &has-two-params.signature.params[0], 'param WHEREFORE from $=pod';
is ~$=pod[$pod_index++], 'documented';

ok !&has-two-params.WHY.defined;
Expand Down

0 comments on commit 8c03955

Please sign in to comment.