Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test for RT #109064
test died for the wrong reason (missing block)
  • Loading branch information
usev6 committed Sep 24, 2015
1 parent c90270e commit a851e2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S06-signature/errors.t
Expand Up @@ -37,7 +37,8 @@ eval-lives-ok 'sub quuuux ($!) { ... }', 'but $! is OK';
}

# RT #109064
eval-dies-ok 'my class A { submethod BUILD(:$!notthere = 10) }; A.new',
throws-like 'my class A { submethod BUILD(:$!notthere = 10) { } }; A.new',
X::Attribute::Undeclared,
'named parameter of undeclared attribute dies';

# RT #72082
Expand Down

0 comments on commit a851e2d

Please sign in to comment.