4 use Test::More tests => 4;
9 $SIG{__WARN__} = \&croak;
17 Class::MOP::in_global_destruction();
18 } qr/\b deprecated \b/xmsi, 'complained';
26 use Class::MOP::Deprecated -compatible => 0.93;
29 Class::MOP::in_global_destruction();
30 } qr/\b deprecated \b/xmsi, 'complained';
38 use Class::MOP::Deprecated -compatible => 0.92;
41 Class::MOP::in_global_destruction();
52 Class::MOP::in_global_destruction();
53 } 'safe in an inner class';