projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
10ae263
)
Merge uri test fix from Apache engine, to support port numbers
Andy Grundman [Wed, 18 Oct 2006 03:43:32 +0000 (
03:43
+0000)]
t/live_engine_request_uri.t
patch
|
blob
|
blame
|
history
diff --git
a/t/live_engine_request_uri.t
b/t/live_engine_request_uri.t
index
9b5833e
..
5027b9c
100644
(file)
--- a/
t/live_engine_request_uri.t
+++ b/
t/live_engine_request_uri.t
@@
-88,7
+88,7
@@
my $creq;
{
\r
ok( my $response = request('http://localhost/engine/request/uri/uri_with_object'), 'Request' );
\r
ok( $response->is_success, 'Response Successful 2xx' );
\r
- is( $response->header( 'X-Catalyst-Param-a' ), 'http://localhost/', 'param "a" ok' );
\r
+ like( $response->header( 'X-Catalyst-Param-a' ), qr(http://localhost[^/]*/), 'param "a" ok' );
\r
}
\r
\r
# test that uri_with is utf8 safe
\r