# body BUT not so quickly that we fail to calculate the length. This test
# exists mainly to prevent regressions.
-{
+{
package MyApp::Controller::Root;
+ $INC{'MyApp/Controller/Root.pm'} = __FILE__;
use base 'Catalyst::Controller';
MyApp->setup;
}
-$INC{'MyApp/Controller/Root.pm'} = __FILE__;
Test::More::ok(MyApp->setup);
{
package MyApp::Controller::Docs;
+ $INC{'MyApp/Controller/Docs.pm'} = __FILE__;
use base 'Catalyst::Controller';
use Plack::Request;
}
package MyApp::Controller::User;
+ $INC{'MyApp/Controller/User.pm'} = __FILE__;
use base 'Catalyst::Controller';
use Plack::Request;
}
}
- $INC{'MyApp/Controller/User.pm'} = __FILE__;
-
package MyApp;
use Catalyst;
MyApp->setup;