From: Andy Grundman Date: Fri, 21 Oct 2005 15:03:33 +0000 (+0000) Subject: Made restart tests a bit more descriptive X-Git-Tag: 5.7099_04~1160 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=feaf8ea44874cc24afbae2c6dca7651b34bb99c2 Made restart tests a bit more descriptive --- diff --git a/t/optional/http-server-restart.t b/t/optional/http-server-restart.t index a002ee3..93e9ea7 100644 --- a/t/optional/http-server-restart.t +++ b/t/optional/http-server-restart.t @@ -67,7 +67,7 @@ for ( 1..20 ) { die "Server appears to have died" if $count++ > 50; } my $response = get("http://localhost:$port/action/default"); - like( $response, qr/Catalyst::Request/, 'Request OK' ); + like( $response, qr/Catalyst::Request/, 'Non-error restart, request OK' ); #print $server->getline; } @@ -86,7 +86,7 @@ for ( 1..20 ) { die "Server appears to have died"; } my $response = get("http://localhost:$port/action/default"); - like( $response, qr/Catalyst::Request/, 'Request OK' ); + like( $response, qr/Catalyst::Request/, 'Syntax error, no restart, request OK' ); #print $server->getline; }