diff options
author | Nathan Gass | 2017-08-16 16:14:43 +0200 |
---|---|---|
committer | Nathan Gass | 2017-08-16 16:14:43 +0200 |
commit | e0aec40c907801cf7f15d230a2702ac34247b16a (patch) | |
tree | f5e670dc56a5650e5197a8f19ec1d302b125cba6 | |
parent | 30cec0d2b90d86b3e65902c419ca025916061136 (diff) | |
download | itools-e0aec40c907801cf7f15d230a2702ac34247b16a.tar.gz itools-e0aec40c907801cf7f15d230a2702ac34247b16a.tar.bz2 itools-e0aec40c907801cf7f15d230a2702ac34247b16a.zip |
add test for missing protocol
-rwxr-xr-x | tests/it_url.t | 8 |
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' |