depend on workaround for issue during global destruction in t/live_fork.t (see also...
[catagits/Catalyst-Runtime.git] / t / aggregate / c3_appclass_bug.t
CommitLineData
1cad29ab 1use strict;
2use Test::More tests => 1;
3
4{
5 package TestPlugin;
6 use strict;
7
8 sub setup {
9 shift->maybe::next::method(@_);
10 }
11}
12{
13 package TestAppC3ErrorUseMoose;
14 use Moose;
15
16 use Catalyst::Runtime 5.80;
17
18 use base qw/Catalyst/;
19 use Catalyst qw/
20 +TestPlugin
21 /;
22}
23
24use Test::Exception;
25lives_ok {
26 TestAppC3ErrorUseMoose->setup();
27} 'No C3 error';
28
291;
30