Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
X::OutOfRange
  • Loading branch information
moritz committed Feb 26, 2012
1 parent 26f6834 commit 1bf4f1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -155,4 +155,7 @@ throws_like ':45<abcd>', X::Syntax::Number::RadixOutOfRange, radix => 45;
throws_like 'rx:g/a/', X::Syntax::Regex::Adverb, adverb => 'g', construct => 'rx';
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>>/;

done;

0 comments on commit 1bf4f1d

Please sign in to comment.