package MyApp;
use Catalyst;
- MyApp->setup;
+ Test::More::ok(MyApp->setup, 'setup app');
}
-Test::More::ok(MyApp->setup);
ok my $psgi = MyApp->psgi_app, 'build psgi app';
my $res = $cb->(HEAD "/root/test");
is $res->code, 200, 'OK';
is $res->content, '', 'correct body';
- is $res->content_length, 16, 'correct length';
+ is $res->content_length, 16, 'correct length';
};
done_testing;