X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestAppPluginWithConstructor.pm;h=36d8e16784bdae6b80ad17d9298e7debbed552f5;hp=30818f8e1c6269f9b17b090464b521a086e4041b;hb=bca6bdad36357e75b0efdcd92bc25f32c07182cd;hpb=637be0867dd41db72c8be55d50c104e8d6694ab4 diff --git a/t/lib/TestAppPluginWithConstructor.pm b/t/lib/TestAppPluginWithConstructor.pm index 30818f8..36d8e16 100644 --- a/t/lib/TestAppPluginWithConstructor.pm +++ b/t/lib/TestAppPluginWithConstructor.pm @@ -1,5 +1,6 @@ # See t/plugin_new_method_backcompat.t package TestAppPluginWithConstructor; +use Test::More; use Test::Exception; use Catalyst qw/+TestPluginWithConstructor/; use Moose; @@ -18,5 +19,8 @@ lives_ok { } 'Can apply method modifier'; no Moose; +our $IS_IMMUTABLE_YET = __PACKAGE__->meta->is_immutable; +ok !$IS_IMMUTABLE_YET, 'I am not immutable yet'; + 1;