summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/http.test b/tests/http.test
index 7454ab8..b83ddef 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -444,6 +444,9 @@ test http-3.33 {http::geturl application/xml is text} -body {
} -cleanup {
catch { http::cleanup $token }
} -result {test 4660 /test}
+test http-3.34 {http::geturl -headers not a dict} -returnCodes error -body {
+ http::geturl http://test/t -headers NoDict
+} -result {Bad value for -headers (NoDict), must be list}
test http-4.1 {http::Event} -body {
set token [http::geturl $url -keepalive 0]