diff options
author | franck cuny <franck@lumberjaph.net> | 2010-04-29 14:38:23 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-04-29 14:38:23 +0200 |
commit | 14d0bf15ab9cbc06fdc12ce11e473a35ab9372f3 (patch) | |
tree | af85fae6a2ea168a35a3783f7b53e5aaac7cbff5 /t/11_protected_method.t | |
parent | uppercase, no need for ucfirst (diff) | |
download | moosex-privacy-14d0bf15ab9cbc06fdc12ce11e473a35ab9372f3.tar.gz |
add count to attributes and methods
Diffstat (limited to 't/11_protected_method.t')
-rw-r--r-- | t/11_protected_method.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/11_protected_method.t b/t/11_protected_method.t index a7ef35f..dca8176 100644 --- a/t/11_protected_method.t +++ b/t/11_protected_method.t @@ -38,8 +38,7 @@ with_immutable { isa_ok( $bar, 'Bar' ); is $bar->baz(), 'baz', "... got the good value from &bar"; - is scalar @{ $foo->meta->local_protected_methods }, 1, - '... got one protected method'; + is $foo->meta->_count_protected_methods, 1, "... got one protected method"; } (qw/Foo Bar/); |