projects
/
gitmo/MooseX-Emulate-Class-Accessor-Fast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1899151
)
Use get_all_attributes instead of the deprecated compute_all_applicable_attributes.
Florian Ragwitz [Wed, 8 Apr 2009 21:00:39 +0000 (23:00 +0200)]
t/accessors.t
patch
|
blob
|
blame
|
history
diff --git
a/t/accessors.t
b/t/accessors.t
index
04efe4b
..
3d7d9a7
100644
(file)
--- a/
t/accessors.t
+++ b/
t/accessors.t
@@
-32,7
+32,7
@@
my $class = "Testing::Class::Accessor::Fast";
$class->mk_accessors(qw( best));
}
-my %attrs = map{$_->name => $_} $class->meta->compute_all_applicable_attributes;
+my %attrs = map{$_->name => $_} $class->meta->get_all_attributes;
#2
is(keys %attrs, 11, 'Correct number of attributes');