summaryrefslogtreecommitdiffstats
path: root/tests/encoding.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-02 19:52:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-02 19:52:54 (GMT)
commit2ae930bbe476ece1b6b363a888b2e47388620f92 (patch)
treede6d773ca486c0c21d104dd28d1acbba90eddf8b /tests/encoding.test
parentbf70c2d93b36e4011aa8375545012580016e1bf5 (diff)
parent62e1bc5cb5b4ecceceac65f4d2459e6a3ca953d3 (diff)
downloadtcl-2ae930bbe476ece1b6b363a888b2e47388620f92.zip
tcl-2ae930bbe476ece1b6b363a888b2e47388620f92.tar.gz
tcl-2ae930bbe476ece1b6b363a888b2e47388620f92.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/encoding.test')
-rw-r--r--tests/encoding.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 2ad9f85..ce0b145 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -667,10 +667,10 @@ test encoding-24.21 {Parse with -nocomplain but without providing encoding} {
} 1
test encoding-24.22 {Syntax error, two encodings} -body {
encoding convertfrom iso8859-1 utf-8 "ZX\uD800"
-} -returnCodes 1 -result {wrong # args: should be "::tcl::encoding::convertfrom ?-nocomplain? ?encoding? data"}
+} -returnCodes 1 -result {wrong # args: should be "::tcl::encoding::convertfrom ?-nocomplain? ?-failindex var? ?encoding? data"}
test encoding-24.23 {Syntax error, two encodings} -body {
encoding convertto iso8859-1 utf-8 "ZX\uD800"
-} -returnCodes 1 -result {wrong # args: should be "::tcl::encoding::convertto ?-nocomplain? ?encoding? data"}
+} -returnCodes 1 -result {wrong # args: should be "::tcl::encoding::convertto ?-nocomplain? ?-failindex var? ?encoding? data"}
file delete [file join [temporaryDirectory] iso2022.txt]