summaryrefslogtreecommitdiff
path: root/tests/it_url.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it_url.t')
-rwxr-xr-xtests/it_url.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/it_url.t b/tests/it_url.t
index b3222f7..711b5f1 100755
--- a/tests/it_url.t
+++ b/tests/it_url.t
@@ -236,4 +236,6 @@ ok(strpos($pages['a'], '</html>'), 'it_url::get_multi got first url'); # UTF8SAF
ok(strpos($pages['b'], '</html>'), 'it_url::get_multi got second url'); # UTF8SAFE
is(count($pages), 2, 'it_url::get_multi no additional array elements');
-?>
+is(it_url::parse("/foo"), array("/foo"), "it_url::parse path only");
+is(it_url::parse("/foo?"), array("/foo"), "it_url::parse empty parameter");
+is(it_url::parse("/foo?bar=baz&qux=quux"), array("/foo", 'bar' => "baz", 'qux' => "quux"), "it_url::parse parameters");