summaryrefslogtreecommitdiff
path: root/t/10_private_method.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-04-29 14:38:23 +0200
committerfranck cuny <franck@lumberjaph.net>2010-04-29 14:38:23 +0200
commit14d0bf15ab9cbc06fdc12ce11e473a35ab9372f3 (patch)
treeaf85fae6a2ea168a35a3783f7b53e5aaac7cbff5 /t/10_private_method.t
parentuppercase, no need for ucfirst (diff)
downloadmoosex-privacy-14d0bf15ab9cbc06fdc12ce11e473a35ab9372f3.tar.gz
add count to attributes and methods
Diffstat (limited to 't/10_private_method.t')
-rw-r--r--t/10_private_method.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/10_private_method.t b/t/10_private_method.t
index 9948983..f71ea57 100644
--- a/t/10_private_method.t
+++ b/t/10_private_method.t
@@ -56,8 +56,7 @@ with_immutable {
isa_ok( $bar, 'Bar' );
dies_ok { $bar->newbar() } "... can't call bar, method is private";
- is scalar @{ $foo->meta->local_private_methods }, 2,
- '... got two privates method';
+ is $foo->meta->_count_private_methods, 2, "... got two privates method";
}
(qw/Foo Bar/);