[Catalyst-commits] r13855 - Catalyst-Runtime/5.80/trunk/t/aggregate
rjk at dev.catalyst.perl.org
rjk at dev.catalyst.perl.org
Wed Dec 15 16:44:50 GMT 2010
Author: rjk
Date: 2010-12-15 16:44:50 +0000 (Wed, 15 Dec 2010)
New Revision: 13855
Modified:
Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_uri_for.t
Log:
Add test case for uri_for() with #fragment and query params,
broken by 5.7008 when uri_for() was reimplemented without URI.pm.
Modified: Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_uri_for.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_uri_for.t 2010-12-15 00:43:32 UTC (rev 13854)
+++ Catalyst-Runtime/5.80/trunk/t/aggregate/unit_core_uri_for.t 2010-12-15 16:44:50 UTC (rev 13855)
@@ -58,6 +58,15 @@
'Plus is not encoded'
);
+TODO: {
+ local $TODO = 'broken by 5.7008';
+ is(
+ Catalyst::uri_for( $context, '/bar#fragment', { param1 => 'value1' } )->as_string,
+ 'http://127.0.0.1/foo/bar?param1=value1#fragment',
+ 'URI for path with fragment and query params'
+ );
+}
+
# test with utf-8
is(
Catalyst::uri_for( $context, 'quux', { param1 => "\x{2620}" } )->as_string,
More information about the Catalyst-commits
mailing list