summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Schneider2007-02-13 16:28:13 +0000
committerChristian Schneider2007-02-13 16:28:13 +0000
commitcc4ddb57a83e2c5c922f03e1151680b3e59b1263 (patch)
treec4b246616acfef66bf44935077bd64d5a31beea4 /tests
parent40c23e8e6ae2579fa279416b9f2fda5874b360a7 (diff)
downloaditools-cc4ddb57a83e2c5c922f03e1151680b3e59b1263.tar.gz
itools-cc4ddb57a83e2c5c922f03e1151680b3e59b1263.tar.bz2
itools-cc4ddb57a83e2c5c922f03e1151680b3e59b1263.zip
Added it_url::params (handles nested arrays) and use it in U() and search_url
Diffstat (limited to 'tests')
-rwxr-xr-xtests/html.t6
1 files changed, 6 insertions, 0 deletions
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' => "<Zürich>", 'gnöp' => "fasel"))),
+ '/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%FCrich%3E&bar[qux][gn%F6p]=fasel',
+ 'U() with nested arrays'
+);
+
?>