summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-03-06 20:07:08 (GMT)
committersebres <sebres@users.sourceforge.net>2017-03-06 20:07:08 (GMT)
commit72972a21efecd282225c91662d7f83037434f63e (patch)
treef3edf0bfc2631c841c99bf93333a03638ab5ab6b /tests/chanio.test
parent542acc2feab327a28153eb288b65e3508a924be6 (diff)
downloadtcl-72972a21efecd282225c91662d7f83037434f63e.zip
tcl-72972a21efecd282225c91662d7f83037434f63e.tar.gz
tcl-72972a21efecd282225c91662d7f83037434f63e.tar.bz2
chanio.test: [win] fix test case (setup set translation to "lf", because of default translation on windows "crlf")
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index 9a27233..31bef36 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -6775,7 +6775,7 @@ test chan-io-52.10 {TclCopyChannel & encodings} {fcopy} {
} 5
test chan-io-52.11 {TclCopyChannel & encodings} -setup {
set f [open $path(utf8-fcopy.txt) w]
- fconfigure $f -encoding utf-8
+ fconfigure $f -encoding utf-8 -translation lf
puts $f "\u0410\u0410"
close $f
} -constraints {fcopy} -body {