summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-12 11:10:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-12 11:10:49 (GMT)
commitd6a5f77a66fb8cd3131bcf21897e39f953c40ae0 (patch)
tree814b584eed5967ed93da791c34a8775d4f13d544 /tests/io.test
parent9fd4244e4f77dce5470abdc7d85c9c7d75186b09 (diff)
parent5a421912ecffcfe680588b3b91ac62ee907e79ec (diff)
downloadtcl-d6a5f77a66fb8cd3131bcf21897e39f953c40ae0.zip
tcl-d6a5f77a66fb8cd3131bcf21897e39f953c40ae0.tar.gz
tcl-d6a5f77a66fb8cd3131bcf21897e39f953c40ae0.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/io.test b/tests/io.test
index 0a26df1..544927a 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -13,12 +13,12 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {"::tcltest" ni [namespace children]} {
- package require tcltest 2.5
-}
-
namespace eval ::tcl::test::io {
- namespace import ::tcltest::*
+
+ if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
+ namespace import -force ::tcltest::*
+ }
variable umaskValue
variable path
@@ -8970,7 +8970,7 @@ test io-75.1 {multibyte encoding error read results in raw bytes} -constraints d
} -cleanup {
close $f
removeFile io-75.1
-} -returnCodes ok -result "A\xC0\x40"
+} -result "A\xC0\x40"
test io-75.2 {unrepresentable character write passes and is replaced by ?} -constraints deprecated -setup {
set fn [makeFile {} io-75.2]
@@ -8984,7 +8984,7 @@ test io-75.2 {unrepresentable character write passes and is replaced by ?} -cons
} -cleanup {
close $f
removeFile io-75.2
-} -returnCodes ok -result "A?"
+} -result "A?"
# Incomplete sequence test.
# This error may IMHO only be detected with the close.
@@ -9003,7 +9003,7 @@ test io-75.3 {incomplete multibyte encoding read is ignored} -setup {
set d
} -cleanup {
removeFile io-75.3
-} -returnCodes ok -result "A\xC0"
+} -result "A\xC0"
# ### ### ### ######### ######### #########