summaryrefslogtreecommitdiffstats
path: root/tests/string.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-25 12:00:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-25 12:00:14 (GMT)
commit545f0cffe802c26b1779eb2f9ca6c4ade8c8c654 (patch)
treee1834a55260ec88ece1ed1bbf04863a7e66c9640 /tests/string.test
parentfe0b615064efb673ddf7e8d4f1d934aaabda0cd1 (diff)
downloadtcl-545f0cffe802c26b1779eb2f9ca6c4ade8c8c654.zip
tcl-545f0cffe802c26b1779eb2f9ca6c4ade8c8c654.tar.gz
tcl-545f0cffe802c26b1779eb2f9ca6c4ade8c8c654.tar.bz2
[Enh 3396731] Follow-up: special case for Pure-unicode representation
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test
index 1a62a66..92f544e 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -1623,6 +1623,9 @@ test string-24.12 {string reverse command - corner case} {
set y \udead
string is ascii [string reverse $x$y]
} 0
+test string-24.13 {string reverse command - pure Unicode string} {
+ string reverse [string range \ubeef\udead\ubeef\udead\ubeef\udead 1 5]
+} \udead\ubeef\udead\ubeef\udead
test string-25.1 {string is list} {
string is list {a b c}