Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust for simplified Range information
  • Loading branch information
lizmat committed Jan 15, 2015
1 parent 5228076 commit 8e21b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-exceptions/misc.t
Expand Up @@ -225,7 +225,7 @@ throws_like 'Date.new("2012-02-30")', X::OutOfRange,
range => Range, message => rx/<<1\.\.29>>/;
throws_like 'DateTime.new(year => 2012, month => 5, day => 22, hour => 18, minute => 3, second => 60)',
X::OutOfRange, comment => /'leap second'/;
throws_like 'use fatal; "foo"[2]', X::OutOfRange, what => rx:i/index/, range => 0..0, got => 2;
throws_like 'use fatal; "foo"[2]', X::OutOfRange, what => rx:i/index/, range => '0..0', got => 2;

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

Expand Down

0 comments on commit 8e21b00

Please sign in to comment.