summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2023-11-07 12:44:21 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2023-11-07 12:44:21 (GMT)
commitd33629d929fea44e7e53582be5166acb169a734e (patch)
treec3cac9debf7b2b20903741c60da4a50f97567018
parent0f91665f15fa0bdec4a9f472680f7d123a691067 (diff)
downloadtcl-d33629d929fea44e7e53582be5166acb169a734e.zip
tcl-d33629d929fea44e7e53582be5166acb169a734e.tar.gz
tcl-d33629d929fea44e7e53582be5166acb169a734e.tar.bz2
Correct some test numbers and descriptions
-rw-r--r--tests/io.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/io.test b/tests/io.test
index ccad9c7..9f731ad 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -1562,7 +1562,7 @@ test io-12.9 {ReadChars: multibyte chars split} -body {
} -cleanup {
catch {close $f}
} -result 194
-test io-12.11 {ReadChars: multibyte chars split} -body {
+test io-12.10 {ReadChars: multibyte chars split} -body {
set f [open $path(test1) w]
fconfigure $f -translation binary
puts -nonewline $f [string repeat a 9]\xC2
@@ -1576,7 +1576,7 @@ test io-12.11 {ReadChars: multibyte chars split} -body {
catch {close $f}
} -returnCodes 1 -match glob -result {error reading "file*":\
invalid or incomplete multibyte or wide character}
-test io-12.12 {ReadChars: multibyte chars split} -body {
+test io-12.11 {ReadChars: multibyte chars split} -body {
set f [open $path(test1) w]
fconfigure $f -translation binary
puts -nonewline $f [string repeat a 9]\xC2
@@ -9212,7 +9212,7 @@ test io-75.6 {invalid utf-8 encoding, gets is not ignored (-profile strict)} -se
invalid or incomplete multibyte or wide character}
test io-75.7 {
- invalid utf-8 encoding gets is not ignored (-profile strict)
+ invalid utf-8 encoding read is not ignored (-profile strict)
} -setup {
set fn [makeFile {} io-75.7]
set f [open $fn w+]
@@ -9339,7 +9339,7 @@ test io-75.10 {incomplete multibyte encoding read is ignored} -setup {
# As utf-8 has a special treatment in multi-byte decoding, also test another
# one.
-test io-75.11 {shiftjis encoding error read results in raw bytes} -setup {
+test io-75.11 {shiftjis encoding error read results in error (strict profile)} -setup {
set fn [makeFile {} io-75.11]
set f [open $fn w+]
fconfigure $f -encoding binary