From: Florian Ragwitz Date: Wed, 8 Apr 2009 21:00:39 +0000 (+0200) Subject: Use get_all_attributes instead of the deprecated compute_all_applicable_attributes. X-Git-Tag: 0.00801~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=13d105cc33db186b5d12e5f412d8eb65a54af086;p=gitmo%2FMooseX-Emulate-Class-Accessor-Fast.git Use get_all_attributes instead of the deprecated compute_all_applicable_attributes. --- diff --git a/t/accessors.t b/t/accessors.t index 04efe4b..3d7d9a7 100644 --- 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');