Add TODO tests for recursion bug with method modifiers on App->setup
[catagits/Catalyst-Runtime.git] / t / lib / TestAppSetupRecursion.pm
CommitLineData
f2e70879 1package TestAppSetupRecursion;
2
3use Moose;
4use namespace::autoclean;
5
6extends 'Catalyst';
7
8our $SetupCount = 0;
9# Content of the sub is irrelevant, the bug is that it's existence triggers
10# infinite recursion.
11after setup => sub {
12 $SetupCount++;
13};
14
15__PACKAGE__->setup;