Skip to content

Commit

Permalink
test X::Str::Match::x
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 3, 2012
1 parent 7a26e13 commit ac06e5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S32-exceptions/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ throws_like 'my sub a { POST 0 }; a()', X::Phaser::PrePost, phaser => 'POST', co

throws_like 'use fatal; my $x = "5 foo" + 8;', X::Str::Numeric, source => '5 foo', pos => 1,
reason => /trailing/;
throws_like '"a".match(:x([1, 2, 3]), /a/)', X::Str::Match::x, got => Array;

throws_like '1.foo', X::Method::NotFound, method => 'foo', typename => 'Int';
throws_like '1.+foo', X::Method::NotFound, method => 'foo', typename => 'Int';
Expand Down

0 comments on commit ac06e5e

Please sign in to comment.