8 eval "use Test::Output;";
9 plan skip_all => "Test::Output is required for this test" if $@;
16 __PACKAGE__->meta->make_immutable;
25 __PACKAGE__->meta->make_immutable;
26 __PACKAGE__->meta->make_mutable;
29 # This actually is testing for a bug in Class::MOP that cause
30 # Moose::Meta::Method::Constructor to spit out a warning when it
31 # shouldn't have done so. The bug was fixed in CMOP 0.75.
33 sub { Bar->meta->make_immutable },
34 qr/Not inlining a constructor/,
35 'no warning that Bar may not have an inlined constructor'