summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/io.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/io.test b/tests/io.test
index fdb4be4..9dd37f3 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -9053,8 +9053,8 @@ test io-75.6 {multibyte encoding error read results in raw bytes} -setup {
puts -nonewline $f "A\xC0\x40"
flush $f
seek $f 0
- fconfigure $f -encoding utf-8 -buffering none
-} -constraints knownBug -body {
+ fconfigure $f -encoding utf-8 -buffering none -strict 1
+} -body {
set d [read $f]
binary scan $d H* hd
set hd
@@ -9113,7 +9113,7 @@ test io-75.9 {shiftjis encoding error read results in raw bytes} -setup {
flush $f
seek $f 0
fconfigure $f -encoding shiftjis -buffering none -eofchar "" -translation lf
-} -constraints knownBug -body {
+} -body {
set d [read $f]
binary scan $d H* hd
set hd