diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-14 15:01:18 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-14 15:01:18 (GMT) |
commit | 0db2f11f15f912f0e79b915e2f2af197b7c3be20 (patch) | |
tree | d687a0578a3abc79fe9d4a121f91e407208cf9ff /tests/stringObj.test | |
parent | 4307d0a739ddfd9545e59a0ccf16067fc2dab2a2 (diff) | |
parent | f7c3a988274b5e8026bf4836028bfd6831e6a615 (diff) | |
download | tcl-0db2f11f15f912f0e79b915e2f2af197b7c3be20.zip tcl-0db2f11f15f912f0e79b915e2f2af197b7c3be20.tar.gz tcl-0db2f11f15f912f0e79b915e2f2af197b7c3be20.tar.bz2 |
Merge trunk
Diffstat (limited to 'tests/stringObj.test')
-rw-r--r-- | tests/stringObj.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stringObj.test b/tests/stringObj.test index 1331a68..4245a13 100644 --- a/tests/stringObj.test +++ b/tests/stringObj.test @@ -318,7 +318,7 @@ test stringObj-9.10 {TclAppendObjToObj, integer src & mixed dest} testobj { test stringObj-9.11 {TclAppendObjToObj, mixed src & 1-byte dest index check} testobj { # bug 2678, in <=8.2.0, the second obj (the one to append) in # Tcl_AppendObjToObj was not correctly checked to see if it was all one - # byte chars, so a unicode string would be added as one byte chars. + # byte chars, so a Unicode string would be added as one byte chars. set x abcdef set len [string length $x] set y a\xFCb\xE5c\xEF @@ -411,13 +411,13 @@ test stringObj-13.4 {Tcl_GetCharLength with mixed width chars} testobj { } 1 test stringObj-13.5 {Tcl_GetCharLength with mixed width chars} testobj { # string length "○○" - # Use \uXXXX notation below instead of hardcoding the values, otherwise + # Use \uXXXX notation below instead of hard-coding the values, otherwise # the test will fail in multibyte locales. string length "\xEF\xBF\xAE\xEF\xBF\xAE" } 6 test stringObj-13.6 {Tcl_GetCharLength with mixed width chars} testobj { # set a "ïa¿b®cï¿d®" - # Use \uXXXX notation below instead of hardcoding the values, otherwise + # Use \uXXXX notation below instead of hard-coding the values, otherwise # the test will fail in multibyte locales. set a "\xEFa\xBFb\xAEc\xEF\xBFd\xAE" list [string length $a] [string length $a] |