summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-10 08:52:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-10 08:52:13 (GMT)
commita25f4ac082e9ece00bc80d9471f178ea2832a40a (patch)
tree8e67a639d124665c512fa7f82b4103db13a03ffd
parent0fab7463a3318c4fb204e1d463c34ca2616bf201 (diff)
downloadtcl-a25f4ac082e9ece00bc80d9471f178ea2832a40a.zip
tcl-a25f4ac082e9ece00bc80d9471f178ea2832a40a.tar.gz
tcl-a25f4ac082e9ece00bc80d9471f178ea2832a40a.tar.bz2
Fix utf-1.13 testcase for TCL_UTF_MAX>3
-rw-r--r--tests/utf.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utf.test b/tests/utf.test
index 2f5f7f3..b1fafb6 100644
--- a/tests/utf.test
+++ b/tests/utf.test
@@ -78,7 +78,7 @@ test utf-1.11 {Tcl_UniCharToUtf: 3 byte sequence, low surrogate} testbytestring
test utf-1.12 {Tcl_UniCharToUtf: 4 byte sequence, high/low surrogate} {pairsTo4bytes testbytestring} {
expr {"\uD842\uDC42" eq [testbytestring \xF0\xA0\xA1\x82]}
} 1
-test utf-1.13 {Tcl_UniCharToUtf: Invalid surrogate} Uesc {
+test utf-1.13 {Tcl_UniCharToUtf: Invalid surrogate} {Uesc ucs2} {
expr {"\UD842" eq "\uD842"}
} 1