Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

test private method not found error

  • Loading branch information...
commit 16238cd7ea194596c702e1e06ce8b24e0225f87b 1 parent d701cfa
Moritz Lenz authored May 27, 2012

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

  1. 5  S32-exceptions/misc.t
5  S32-exceptions/misc.t
@@ -200,6 +200,11 @@ throws_like 'use fatal; my $x = "5 foo" + 8;', X::Str::Numeric, source => '5 foo
200 200
 
201 201
 throws_like '1.foo',  X::Method::NotFound, method => 'foo', typename => 'Int';
202 202
 throws_like '1.+foo', X::Method::NotFound, method => 'foo', typename => 'Int';
  203
+throws_like 'my class Priv { method x { self!foo } }; Priv.x',
  204
+                      X::Method::NotFound,
  205
+                      method    => '!foo',
  206
+                      typename  => 'Priv',
  207
+                      private   => { $_ === True };
203 208
 
204 209
 # RT #58558
205 210
 throws_like '!!! 42', X::AdHoc, payload => 42;

0 notes on commit 16238cd

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