summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_url.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/it_url.t b/tests/it_url.t
index 4c59004..e8507aa 100755
--- a/tests/it_url.t
+++ b/tests/it_url.t
@@ -126,4 +126,10 @@ is(
'</html>',
'it_url::get() static call'
);
+
+$pages = it_url::get_multi('urls' => array('a' => 'http://www.gna.ch/', 'b' => 'http://search.ch/'));
+ok(it::match('</html>', $pages['a']), 'it_url::get_multi got first url');
+ok(it::match('</html>', $pages['b']), 'it_url::get_multi got second url');
+is(count($pages), 2, 'it_url::get_multi no additional array elements');
+
?>