summaryrefslogtreecommitdiff
path: root/test/it_url.t
diff options
context:
space:
mode:
authorChristian Schneider2024-04-24 22:55:40 +0200
committerChristian Schneider2024-04-24 22:55:40 +0200
commitd4bd73f98063ebbdf6c6f5ce94252360de901c9a (patch)
tree6ec8162c5d9bff8f46005ab793667c4b5d1c19b3 /test/it_url.t
parent21e12e0b65c1a7a136c686523037991061cc35a2 (diff)
downloaditools-d4bd73f98063ebbdf6c6f5ce94252360de901c9a.tar.gz
itools-d4bd73f98063ebbdf6c6f5ce94252360de901c9a.tar.bz2
itools-d4bd73f98063ebbdf6c6f5ce94252360de901c9a.zip
Switch it_url::get('assoc' => true) to always return non-empty array including at least the HTTP status code
Diffstat (limited to 'test/it_url.t')
-rwxr-xr-xtest/it_url.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_url.t b/test/it_url.t
index 568feda..47064b5 100755
--- a/test/it_url.t
+++ b/test/it_url.t
@@ -272,7 +272,7 @@ $output = handle_server(
$output = handle_server(
is(
it::filter_keys(it_url::get(['url' => "http://$host/not_found_with_body", 'empty_on_fail' => true, 'it_error' => false, 'assoc' => true]), 'status,data'),
- [],
+ ['status' => 404, 'data' => null],
'it_url::get() on 404 with body, empty_on_fail and assoc'
)
);