X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive%2Fengine%2Frequest%2Furi.t;h=8d9150287603431d34ea25c5c4bfa56e83bfb9b2;hb=79f8efb873b3bb1d33f156969a5ce5c95d28f4cf;hp=a6c6b38df245227be8d12111ac2a27365face5fd;hpb=fbcc39ad23f2bbecf5d84c9ba581e6af86fcd460;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live/engine/request/uri.t b/t/live/engine/request/uri.t index a6c6b38..8d91502 100644 --- a/t/live/engine/request/uri.t +++ b/t/live/engine/request/uri.t @@ -17,7 +17,7 @@ my $creq; ok( my $response = request('http://localhost/engine/request/uri/change_path'), 'Request' ); ok( $response->is_success, 'Response Successful 2xx' ); ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' ); - like( $creq->uri, qr{/my/app/lives/here}, 'URI contains new path' ); + like( $creq->uri, qr{/my/app/lives/here$}, 'URI contains new path' ); } # test that path properly removes the base location