From cc4ddb57a83e2c5c922f03e1151680b3e59b1263 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 13 Feb 2007 16:28:13 +0000 Subject: Added it_url::params (handles nested arrays) and use it in U() and search_url --- tests/html.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/html.t b/tests/html.t index 85f7818..071685e 100755 --- a/tests/html.t +++ b/tests/html.t @@ -89,5 +89,11 @@ is( 'it_html::sanitize tag soup' ); +is( + U("/foo.html", 'bar' => array('gna' => 42, 'qux' => array('quux' => "", 'gnöp' => "fasel"))), + '/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%FCrich%3E&bar[qux][gn%F6p]=fasel', + 'U() with nested arrays' +); + ?> -- cgit v1.2.3