From: Matt S Trout Date: Thu, 6 Jul 2006 20:25:02 +0000 (+0000) Subject: GODDAMN WARNINGS X-Git-Tag: 5.7099_04~411 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=084f770a46d795007d4f1bc48a1822be888a142f GODDAMN WARNINGS --- diff --git a/t/unit_core_uri_for_action.t b/t/unit_core_uri_for_action.t index e4f1784..a0297f4 100644 --- a/t/unit_core_uri_for_action.t +++ b/t/unit_core_uri_for_action.t @@ -150,15 +150,15 @@ is($context->uri_for($chained_action, [ 1 ], 2, { q => 1 }), 'http://127.0.0.1/foo/chained/foo2/1/2/end2/3/4/5', 'uri_for returns uri with more args than specified on action' ); - is( $context->uri_for($action_needs_two, [1,undef], (3,4)), + is( $context->uri_for($action_needs_two, [1,''], (3,4)), 'http://127.0.0.1/foo/chained/foo2/1//end2/3/4', 'uri_for returns uri with empty capture on undef capture' ); - is( $context->uri_for($action_needs_two, [1,2], (undef,3)), + is( $context->uri_for($action_needs_two, [1,2], ('',3)), 'http://127.0.0.1/foo/chained/foo2/1/2/end2//3', 'uri_for returns uri with empty arg on undef argument' ); - is( $context->uri_for($action_needs_two, [1,2], (3,undef)), + is( $context->uri_for($action_needs_two, [1,2], (3,'')), 'http://127.0.0.1/foo/chained/foo2/1/2/end2/3/', 'uri_for returns uri with empty arg on undef last argument' );