summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2024-05-27 15:14:17 +0200
committerChristian Schneider2024-05-27 15:14:17 +0200
commit937d04e90f85e332186c6c16fc6b06fa0ca400a7 (patch)
tree0dba804070dc8dc13254afe63158bc5ea76c8aed
parent134e639995c9a7a930da31c5b615d51997d0d177 (diff)
downloaditools-937d04e90f85e332186c6c16fc6b06fa0ca400a7.tar.gz
itools-937d04e90f85e332186c6c16fc6b06fa0ca400a7.tar.bz2
itools-937d04e90f85e332186c6c16fc6b06fa0ca400a7.zip
Fix it_url::get with maxlength and large response
-rwxr-xr-xtest/it_url_slow.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_url_slow.t b/test/it_url_slow.t
index b382b3a..00bbc2f 100755
--- a/test/it_url_slow.t
+++ b/test/it_url_slow.t
@@ -77,7 +77,7 @@ handle_server(
handle_server(
ok(
- it_url::get('url' => U("http://$host/repeat", ['string' => "abc", 'num' => 1024 * 32]), 'maxlength' => 1024 * 1024) == str_repeat("abc", 1024 * 32),
+ it_url::get(['url' => U("http://$host/repeat", ['string' => "abc", 'num' => 1024 * 32]), 'maxlength' => 1024 * 1024]) == str_repeat("abc", 1024 * 32),
'it_url::get() handles large response with maxlength set'
)
);