Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update a .match failure test.
  • Loading branch information
pmichaud committed Jul 9, 2012
1 parent d9800ad commit 7bac3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-exceptions/misc.t
Expand Up @@ -176,7 +176,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 '"a".match(:x([1, 2, 3]), /a/).Str', X::Str::Match::x, got => Array;
throws_like '"a".trans([Any.new] => [Any.new])', X::Str::Trans::IllegalKey, key => Any;
throws_like '"a".trans(rx/a/)', X::Str::Trans::InvalidArg, got => Regex;

Expand Down

0 comments on commit 7bac3ca

Please sign in to comment.