From e0aec40c907801cf7f15d230a2702ac34247b16a Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 16 Aug 2017 16:14:43 +0200 Subject: add test for missing protocol --- tests/it_url.t | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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 @@ -163,6 +163,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]), -- cgit v1.2.3