X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fhead_middleware.t;h=8b8eb6d697fa1d0327a0cd51b901818a4bf3d35b;hp=ff7afcf2bf0ad01a64b747928787ac4d172829b5;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=09b86ef3e370ed90851bdf8107bdbbb6532a87c8 diff --git a/t/head_middleware.t b/t/head_middleware.t index ff7afcf..8b8eb6d 100644 --- a/t/head_middleware.t +++ b/t/head_middleware.t @@ -23,11 +23,10 @@ use Plack::Test; 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'; @@ -44,7 +43,7 @@ test_psgi $psgi, sub { 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;