From: Andy Grundman Date: Wed, 18 Oct 2006 03:43:32 +0000 (+0000) Subject: Merge uri test fix from Apache engine, to support port numbers X-Git-Tag: 5.7099_04~325 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8d6f4c5056b5b13f08d9b9791d36cdac91c7d3c6 Merge uri test fix from Apache engine, to support port numbers --- diff --git a/t/live_engine_request_uri.t b/t/live_engine_request_uri.t index 9b5833e..5027b9c 100644 --- a/t/live_engine_request_uri.t +++ b/t/live_engine_request_uri.t @@ -88,7 +88,7 @@ my $creq; { ok( my $response = request('http://localhost/engine/request/uri/uri_with_object'), 'Request' ); ok( $response->is_success, 'Response Successful 2xx' ); - is( $response->header( 'X-Catalyst-Param-a' ), 'http://localhost/', 'param "a" ok' ); + like( $response->header( 'X-Catalyst-Param-a' ), qr(http://localhost[^/]*/), 'param "a" ok' ); } # test that uri_with is utf8 safe