From d88f1056eb57779852de8654f292edf50ac44aaf Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 10 Aug 2017 16:01:20 +0200 Subject: adapt to default --- tests/it_url.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/it_url.t b/tests/it_url.t index 739f808..30bf7bc 100755 --- a/tests/it_url.t +++ b/tests/it_url.t @@ -165,7 +165,7 @@ handle_server( handle_server( is( - it_url::get(array('url' => 'http://localhost:8000/', 'maxlength' => 100)), + it_url::get(['url' => 'http://localhost:8000/', 'maxlength' => 100]), "Testserver root output", 'it_url::get() static call with port and maxlength' ) @@ -173,7 +173,7 @@ handle_server( handle_server( is( - it_url::get(array('url' => 'http://localhost:8000/', 'maxlength' => 5, 'it_error' => false)), + it_url::get(['url' => 'http://localhost:8000/', 'maxlength' => 5, 'it_error' => false]), false, 'it_url::get() static call with port and too small maxlength' ) @@ -197,7 +197,7 @@ handle_server( handle_server( is( - it_url::get('url' => 'http://localhost:8000/relative_redirect', 'it_error' => false), + it_url::get(['url' => 'http://localhost:8000/relative_redirect', 'it_error' => false]), "Testserver output after relative redirect", 'TODO: it_url::get() follows relative redirect correctly' ) -- cgit v1.2.3