From: Shawn M Moore Date: Thu, 2 Oct 2008 04:16:47 +0000 (+0000) Subject: Immutable tests for 001_basic_class_setup X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fabandoned%2Ftest_refactor;p=gitmo%2FMoose.git Immutable tests for 001_basic_class_setup --- diff --git a/t/010_basics/001_basic_class_setup--immutable.t b/t/010_basics/001_basic_class_setup--immutable.t new file mode 100644 index 0000000..c4642c7 --- /dev/null +++ b/t/010_basics/001_basic_class_setup--immutable.t @@ -0,0 +1,11 @@ +use strict; +use warnings; +use Test::More tests => 22; +use Moose::Test::Case; + +Moose::Test::Case->new->run_tests( + after_last_pm => sub { + Foo->meta->make_immutable; + }, +); +