
peter at peknet
Feb 1, 2008, 9:44 AM
Post #1 of 3
(514 views)
Permalink
|
Here's a failing test patch for uri_for against http://dev.catalyst.perl.org/repos/Catalyst/branches/current/Catalyst-Runtime Not sure of the cause. Just passing along the news. I will send a patch to fix it when/if I can. --- t/unit_core_uri_for.t (revision 7426) +++ t/unit_core_uri_for.t (working copy) @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 13; +use Test::More tests => 14; use URI; use_ok('Catalyst'); @@ -33,7 +33,13 @@ 'URI for undef action with args' ); +is( + Catalyst::uri_for( $context, 0, 'arg1', 'arg2' )->as_string, + 'http://127.0.0.1/foo/yada/0/arg1/arg2', + 'URI for undef action with args 0' +); + is( Catalyst::uri_for( $context, '../quux' )->as_string, 'http://127.0.0.1/foo/quux', 'URI for relative dot path' ); -- Peter Karman . peter[at]peknet.com . http://peknet.com/ _______________________________________________ Catalyst-dev mailing list Catalyst-dev[at]lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
|