[Catalyst-dev] uri_for() with '0' value
Brian Cassidy
brian.cassidy at nald.ca
Fri Feb 1 19:41:50 GMT 2008
Peter Karman wrote:
> Here's a failing test patch for uri_for against
> http://dev.catalyst.perl.org/repos/Catalyst/branches/current/Catalyst-Runtime
Hrmm, trunk [1] already seems to have a test against "0" in a path [2]:
# test "0" as the path
is( Catalyst::uri_for( $context, qw/0 foo/ )->as_string,
'http://127.0.0.1/0/foo', '0 as path is ok'
);
It seems to pass just fine.
-Brian
[1] http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.70/trunk
[2]
http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.70/trunk/t/unit_core_uri_for.t
More information about the Catalyst-dev
mailing list