Permalink
Browse files

Update a .match failure test.

  • Loading branch information...
1 parent d9800ad commit 7bac3cade80e603e84c4bbb0f7ccea5c32d9e205 @pmichaud pmichaud committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 S32-exceptions/misc.t
View
@@ -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;

0 comments on commit 7bac3ca

Please sign in to comment.