X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F020_attributes%2F015_attribute_traits.t;h=01e97414f30ca91f54262e17f06d0bdf8062c169;hb=b6c42ac07e8d9c499b948b0f9015978242550336;hp=aaa6ece11799745ff76be515a207ae35a7d72ebc;hpb=43e6a50b260b096a34b0c46da87296bd220c4184;p=gitmo%2FMouse.git diff --git a/t/020_attributes/015_attribute_traits.t b/t/020_attributes/015_attribute_traits.t index aaa6ece..01e9741 100644 --- a/t/020_attributes/015_attribute_traits.t +++ b/t/020_attributes/015_attribute_traits.t @@ -21,11 +21,11 @@ use Test::Mouse; after 'install_accessors' => sub { my $self = shift; - my $reader = $self->get_read_method; + my $reader = $self->get_read_method_ref; $self->associated_class->add_method( $self->alias_to, - sub { shift->$reader(@_) }, + $reader, ); }; }