diff options
author | Urban Müller | 2020-08-10 16:22:13 +0200 |
---|---|---|
committer | Urban Müller | 2020-08-10 16:32:38 +0200 |
commit | a21a7991a7fc21321b90614b609b316fca54daa7 (patch) | |
tree | 39f58151fe3a19d46799ef8712a5295e93314075 /test/it_url.t | |
parent | 7eac01f1c0327fb5b16a6d2581cae31fb27bdc11 (diff) | |
download | itools-a21a7991a7fc21321b90614b609b316fca54daa7.tar.gz itools-a21a7991a7fc21321b90614b609b316fca54daa7.tar.bz2 itools-a21a7991a7fc21321b90614b609b316fca54daa7.zip |
vanilla php compliance
Diffstat (limited to 'test/it_url.t')
-rwxr-xr-x | test/it_url.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/it_url.t b/test/it_url.t index 1636bd6..360b971 100755 --- a/test/it_url.t +++ b/test/it_url.t @@ -326,15 +326,15 @@ handle_server( "failure" ), is( - it_url::get('url' => 'http://localhost:8000/maybe_error?chance=10', 'retries' => 10), + it_url::get(['url' => 'http://localhost:8000/maybe_error?chance=10', 'retries' => 10]), "success", "Retry on sporadically failing url in ::get" ), is( - it_url::get_multi('urls' => ['http://localhost:8000/maybe_error?chance=10'], 'retries' => 10), + it_url::get_multi(['urls' => ['http://localhost:8000/maybe_error?chance=10'], 'retries' => 10]), ["success"], "Retry on sporadically failing url in ::get_multi" - ), + ) ); is(it_url::parse("/foo"), ["/foo"], "it_url::parse path only"); |