X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Antlers.git;a=blobdiff_plain;f=t%2Flib%2FOne.pm;fp=t%2Flib%2FOne.pm;h=8ffaf7f5f4bac6d40e70f80c413563e83e1a354c;hp=519e901c89b2985b7bf14fee5ccd62b3f145885c;hb=064721e6419bd56c5b9e34a70180a6e6f57eab85;hpb=5ed50637a6a3590982b86580bef646f2d8b44b13 diff --git a/t/lib/One.pm b/t/lib/One.pm index 519e901..8ffaf7f 100644 --- a/t/lib/One.pm +++ b/t/lib/One.pm @@ -8,4 +8,6 @@ sub get_called_foo { $called_foo } has foo => (is => 'rw', required => 1, trigger => sub { $called_foo++ }); +__PACKAGE__->meta->make_immutable; + 1;