summaryrefslogtreecommitdiff
path: root/t/11_protected_method.t
diff options
context:
space:
mode:
Diffstat (limited to 't/11_protected_method.t')
-rw-r--r--t/11_protected_method.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/11_protected_method.t b/t/11_protected_method.t
index 2d86605..587979b 100644
--- a/t/11_protected_method.t
+++ b/t/11_protected_method.t
@@ -10,7 +10,7 @@ use Test::Exception;
use Moose;
use MooseX::Privacy;
- protected 'bar' => sub {
+ protected_method 'bar' => sub {
my $self = shift;
return 'baz';
};