summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Schneider2024-04-29 09:36:51 +0200
committerChristian Schneider2024-04-29 09:36:51 +0200
commit4c0f5a738aaa5897cc36062d9555b2edbf5142f5 (patch)
treeaedca21a80b07bcb2a4b4ad53429ac83ce310e00 /test
parentb0a622196a793a36bdf77f79185acea85ba39730 (diff)
downloaditools-4c0f5a738aaa5897cc36062d9555b2edbf5142f5.tar.gz
itools-4c0f5a738aaa5897cc36062d9555b2edbf5142f5.tar.bz2
itools-4c0f5a738aaa5897cc36062d9555b2edbf5142f5.zip
Version 2 of: Switch it_url::get('assoc' => true) to always return non-empty array including at least the HTTP status code
Diffstat (limited to 'test')
-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'
)
);