summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_url.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/it_url.t b/tests/it_url.t
index 70f0daf..83f818f 100755
--- a/tests/it_url.t
+++ b/tests/it_url.t
@@ -165,6 +165,14 @@ handle_server(
handle_server(
is(
+ it_url::get('//localhost:8000/'),
+ "Testserver root output",
+ 'it_url::get() static call with port but no protocol'
+ )
+);
+
+handle_server(
+ is(
it_url::get(['url' => 'http://localhost:8000/', 'maxlength' => 100]),
"Testserver root output",
'it_url::get() static call with port and maxlength'