summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 13:50:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 13:50:21 (GMT)
commit6941f99c78c730b92f232078e1aa3bad1b84ae1c (patch)
tree817df17f41adec7933eebf87ff8549ec8ee8181b /tests/http.test
parent2f867a435f47f0a0b236c62f60108c2a366e8d86 (diff)
downloadtcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.zip
tcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.tar.gz
tcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.tar.bz2
Add experimental "-nothrow" option to encoding convertfrom|convertto. If compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/http.test b/tests/http.test
index 2fd5af4..1275984 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -31,6 +31,8 @@ if {[catch {package require http 2} version]} {
}
}
+testConstraint nodep [info exists tcl_precision]
+
proc bgerror {args} {
global errorInfo
puts stderr "http.test bgerror"
@@ -661,7 +663,7 @@ test http-7.3 {http::formatQuery} -setup {
} -cleanup {
http::config -urlencoding $enc
} -result "can't read \"formMap(∈)\": no such element in array"
-test http-7.4 {http::formatQuery} -setup {
+test http-7.4 {http::formatQuery} -constraints nodep -setup {
set enc [http::config -urlencoding]
} -body {
# this would be reverting to http <=2.4 behavior w/o errors