summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-30 14:49:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-30 14:49:15 (GMT)
commit1f4f47ccf50b4d6518c3dbfd9fd09c7bbb785929 (patch)
tree922d6c60574bcbfc72a4ed59cfe3f8a18ac40334 /tests/http.test
parentaccd2800ecceb527ff9315ec011511b30f32a980 (diff)
downloadtcl-1f4f47ccf50b4d6518c3dbfd9fd09c7bbb785929.zip
tcl-1f4f47ccf50b4d6518c3dbfd9fd09c7bbb785929.tar.gz
tcl-1f4f47ccf50b4d6518c3dbfd9fd09c7bbb785929.tar.bz2
(slightly) better error-message for invalid http -headers option. This works for plain 8.6 too
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http.test b/tests/http.test
index 15bc37f..97e6cfa 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -450,7 +450,7 @@ test http-3.33 {http::geturl application/xml is text} -body {
} -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}
+} -result {Bad value for -headers (NoDict), must be dict}
test http-4.1 {http::Event} -body {
set token [http::geturl $url -keepalive 0]