summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-08 21:27:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-08 21:27:42 (GMT)
commit2b821c69deba46a4f4634dbbfa6b5b34b6036f9c (patch)
treedf9166fc1ba8f897b51f0ff1cc339bea9c75f8a6 /tests
parent2cba0bf57340c299b9b51681a44f37d95787a47d (diff)
parenteb0e31e945c4147ee2beef42af28636e9c3c9f59 (diff)
downloadtcl-2b821c69deba46a4f4634dbbfa6b5b34b6036f9c.zip
tcl-2b821c69deba46a4f4634dbbfa6b5b34b6036f9c.tar.gz
tcl-2b821c69deba46a4f4634dbbfa6b5b34b6036f9c.tar.bz2
Make -DTCL_UTF_MAX=6-build work on win32. Add travis builds to prove it.
Diffstat (limited to 'tests')
-rw-r--r--tests/encoding.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index ab60617..4736928 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -36,7 +36,6 @@ proc runtests {} {
testConstraint testencoding [llength [info commands testencoding]]
testConstraint testbytestring [llength [info commands testbytestring]]
testConstraint teststringbytes [llength [info commands teststringbytes]]
-testConstraint tip389 [expr {[string length \U010000] == 2}]
testConstraint exec [llength [info commands exec]]
testConstraint testgetencpath [llength [info commands testgetencpath]]
@@ -323,16 +322,16 @@ test encoding-15.3 {UtfToUtfProc null character input} teststringbytes {
set z
} c080
-test encoding-16.1 {UnicodeToUtfProc} -constraints tip389 -body {
+test encoding-16.1 {UnicodeToUtfProc} -body {
set val [encoding convertfrom unicode NN]
list $val [format %x [scan $val %c]]
} -result "\u4e4e 4e4e"
-test encoding-16.2 {UnicodeToUtfProc} -constraints tip389 -body {
+test encoding-16.2 {UnicodeToUtfProc} -body {
set val [encoding convertfrom unicode "\xd8\xd8\xdc\xdc"]
list $val [format %x [scan $val %c]]
} -result "\U460dc 460dc"
-test encoding-17.1 {UtfToUnicodeProc} -constraints tip389 -body {
+test encoding-17.1 {UtfToUnicodeProc} -body {
encoding convertto unicode "\U460dc"
} -result "\xd8\xd8\xdc\xdc"