X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp.pm;fp=t%2Flib%2FTestApp.pm;h=3391a225801412e1a9aa84a947f4485f5233c73a;hp=1e4d5c4afc6269c75e2ce06488d44b9ce1206613;hb=85a351e52f553c6fa5129c773863ab69e8b3f213;hpb=4dfe7bde3aca93267c77e8537eff7535a31a7159 diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 1e4d5c4..3391a22 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -20,6 +20,11 @@ our $VERSION = '0.01'; TestApp->config( name => 'TestApp', root => '/some/dir' ); +# Test bug found when re-adjusting the metaclass compat code in Moose +# in 292360. Test added to Moose in 4b760d6, but leave this attribute +# above ->setup so we have some generated methods to be double sure. +has an_attribute_before_we_change_base_classes => ( is => 'ro'); + if ($::setup_leakchecker && eval { Class::MOP::load_class('CatalystX::LeakChecker'); 1 }) { with 'CatalystX::LeakChecker';