summaryrefslogtreecommitdiff
path: root/test/it_url.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_url.t')
-rwxr-xr-xtest/it_url.t6
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");