summaryrefslogtreecommitdiffstats
path: root/tests/utf.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-01 20:28:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-01 20:28:44 (GMT)
commit5ff932037188b0812fe6e2bc53298b36c66c6341 (patch)
tree2ff6cde0139c9f18d82222a2beb3f35c133da01c /tests/utf.test
parent190852002f644f02a6e13c6a7c9017c3f21e1003 (diff)
downloadtcl-5ff932037188b0812fe6e2bc53298b36c66c6341.zip
tcl-5ff932037188b0812fe6e2bc53298b36c66c6341.tar.gz
tcl-5ff932037188b0812fe6e2bc53298b36c66c6341.tar.bz2
More progress
Diffstat (limited to 'tests/utf.test')
-rw-r--r--tests/utf.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utf.test b/tests/utf.test
index fec469b..d86c8dc 100644
--- a/tests/utf.test
+++ b/tests/utf.test
@@ -164,9 +164,9 @@ test utf-4.10 {Tcl_NumUtfChars: #x00, calc len, overcomplete} {testnumutfchars t
test utf-4.11 {Tcl_NumUtfChars: 3 bytes of 4-byte UTF-8 characater} {testnumutfchars testbytestring} {
testnumutfchars [testbytestring \xF0\x9F\x92\xA9] end-1
} 3
-test utf-4.12 {Tcl_NumUtfChars: #4-byte UTF-8 character} {testnumutfchars testbytestring} {
+test utf-4.12 {Tcl_NumUtfChars: #4-byte UTF-8 character} {testnumutfchars testbytestring deprecated} {
testnumutfchars [testbytestring \xF0\x9F\x92\xA9] end
-} 1
+} 2
test utf-4.13 {Tcl_NumUtfChars: end of string} {testnumutfchars testbytestring} {
testnumutfchars foobar[testbytestring \xF2\xC2\xA0] end
} 8