Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

text X::Method::NotFound on normal and .+ dispatches

  • Loading branch information...
commit d701cfa9febf2461eaefb3a17cceaefe6dbc1042 1 parent 6f6d6c2
Moritz Lenz authored May 27, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  S32-exceptions/misc.t
4  S32-exceptions/misc.t
@@ -198,6 +198,9 @@ throws_like 'my sub a { POST 0 }; a()', X::Phaser::PrePost, phaser => 'POST', co
198 198
 throws_like 'use fatal; my $x = "5 foo" + 8;', X::Str::Numeric, source => '5 foo', pos => 1,
199 199
             reason => /trailing/;
200 200
 
  201
+throws_like '1.foo',  X::Method::NotFound, method => 'foo', typename => 'Int';
  202
+throws_like '1.+foo', X::Method::NotFound, method => 'foo', typename => 'Int';
  203
+
201 204
 # RT #58558
202 205
 throws_like '!!! 42', X::AdHoc, payload => 42;
203 206
 throws_like 'use fatal; ... 42', X::AdHoc, payload => 42;
@@ -218,4 +221,5 @@ throws_like 'sub f() returns Str { 5 }; f', X::TypeCheck::Return, got => Int, ex
218 221
 
219 222
 throws_like '1.foo', X::Method::NotFound, method => 'foo', typename => 'Int';
220 223
 
  224
+
221 225
 done;

0 notes on commit d701cfa

Please sign in to comment.
Something went wrong with that request. Please try again.