From: Matthew Horsfall Date: Wed, 20 Jul 2011 00:50:21 +0000 (-0400) Subject: use Moo like the rest of the code. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FApp-IdiotBox.git;a=commitdiff_plain;h=bb98017328db8e28a5b48d1390fe50e935d119c2 use Moo like the rest of the code. --- diff --git a/t/lib/Data/Perl/Collection/Set.pm b/t/lib/Data/Perl/Collection/Set.pm index a35c62b..28df8a7 100644 --- a/t/lib/Data/Perl/Collection/Set.pm +++ b/t/lib/Data/Perl/Collection/Set.pm @@ -1,6 +1,6 @@ package Data::Perl::Collection::Set; -use Moose; +use Moo; use Method::Signatures::Simple; use Data::Perl::Stream::Array; @@ -16,6 +16,4 @@ method to_stream { Data::Perl::Stream::Array->new(array => [ @{$self->_members} ]) } -__PACKAGE__->meta->make_immutable; - 1; diff --git a/t/lib/Data/Perl/Stream/Array.pm b/t/lib/Data/Perl/Stream/Array.pm index cb0ccf5..0edb777 100644 --- a/t/lib/Data/Perl/Stream/Array.pm +++ b/t/lib/Data/Perl/Stream/Array.pm @@ -1,6 +1,6 @@ package Data::Perl::Stream::Array; -use Moose; +use Moo; use Method::Signatures::Simple; has _array => (is => 'rw', required => 1, init_arg => 'array'); @@ -17,6 +17,4 @@ method map ($map_func) { ref($self)->new(array => [ map { $map_func->($_) } @{$self->_array} ]); } -__PACKAGE__->meta->make_immutable; - 1;