X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fhead_middleware.t;h=8b8eb6d697fa1d0327a0cd51b901818a4bf3d35b;hb=da94772a5abc26038fbb2611ff530d85b81870d6;hp=ff7afcf2bf0ad01a64b747928787ac4d172829b5;hpb=09b86ef3e370ed90851bdf8107bdbbb6532a87c8;p=catagits%2FCatalyst-Runtime.git 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;