Skip to content

Commit

Permalink
test for X::Routine::Unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 27, 2012
1 parent 75f1166 commit 52f6db6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -158,4 +158,6 @@ throws_like 'my sub f($x, $y:) { }', X::Syntax::Signature::InvocantMarker;
throws_like 'Date.new("2012-02-30")', X::OutOfRange,
range => Range, message => rx/<<1\.\.29>>/;

throws_like 'sub f() { }; &f.unwrap("foo")', X::Routine::Unwrap;

done;

0 comments on commit 52f6db6

Please sign in to comment.