projects
/
gitmo/MooseX-Emulate-Class-Accessor-Fast.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use get_all_attributes instead of the deprecated compute_all_applicable_attributes.
[gitmo/MooseX-Emulate-Class-Accessor-Fast.git]
/
t
/
accessors.t
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');