6 use Test::More tests => 1;
12 __PACKAGE__->meta->make_immutable;
21 __PACKAGE__->meta->make_immutable;
22 __PACKAGE__->meta->make_mutable;
25 # This actually is testing for a bug in Class::MOP that cause
26 # Moose::Meta::Method::Constructor to spit out a warning when it
27 # shouldn't have done so. The bug was fixed in CMOP 0.75.
29 sub { Bar->meta->make_immutable },
30 qr/Not inlining a constructor/,
31 'no warning that Bar may not have an inlined constructor'