From 67924acf8f9da1bca64531961a4cefb105835c61 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 14 Feb 2010 12:08:39 +0100 Subject: rename private and protected with private_method and protected_method --- t/10_private_method.t | 4 ++-- t/11_protected_method.t | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/10_private_method.t b/t/10_private_method.t index 231ba42..6ed9055 100644 --- a/t/10_private_method.t +++ b/t/10_private_method.t @@ -10,7 +10,7 @@ use Test::Exception; use Moose; use MooseX::Privacy; - private 'bar' => sub { + private_method 'bar' => sub { my $self = shift; return 'baz'; }; @@ -25,7 +25,7 @@ use Test::Exception; return $self->foobar(shift); } - private 'foobar' => sub { + private_method 'foobar' => sub { my $self = shift; my $str = shift; return 'foobar' . $str; 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'; }; -- cgit 1.4.1