summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-02-25 15:49:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-02-25 15:49:52 (GMT)
commit259729fa361e6d184ef91be067a93309e14cd998 (patch)
tree0f5a26925e18c541281b2bb2e70e1bff14a04f04 /tests
parent1186a5d2a99856b462ae56281a6438e80ce9d2c1 (diff)
downloadtcl-259729fa361e6d184ef91be067a93309e14cd998.zip
tcl-259729fa361e6d184ef91be067a93309e14cd998.tar.gz
tcl-259729fa361e6d184ef91be067a93309e14cd998.tar.bz2
[8d5f5b8034] Flush internal representations in [string tolower] of unshared obj
Diffstat (limited to 'tests')
-rw-r--r--tests/string.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test
index 740cdc6..cf658a2 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -1398,6 +1398,9 @@ test string-15.9 {string tolower} {
test string-15.10 {string tolower, unicode} {
string tolower ABCabc\xc7\xe7
} "abcabc\xe7\xe7"
+test string-15.11 {string tolower, compiled} {
+ lindex [string tolower [list A B [list C]]] 1
+} b
test string-16.1 {string toupper} {
list [catch {string toupper} msg] $msg
@@ -1429,6 +1432,9 @@ test string-16.9 {string toupper} {
test string-16.10 {string toupper, unicode} {
string toupper ABCabc\xc7\xe7
} "ABCABC\xc7\xc7"
+test string-16.11 {string toupper, compiled} {
+ lindex [string toupper [list a b [list c]]] 1
+} B
test string-17.1 {string totitle} {
list [catch {string totitle} msg] $msg
@@ -1451,6 +1457,9 @@ test string-17.6 {string totitle, unicode} {
test string-17.7 {string totitle, unicode} {
string totitle \u01f3BCabc\xc7\xe7
} "\u01f2bcabc\xe7\xe7"
+test string-17.8 {string totitle, compiled} {
+ lindex [string totitle [list aa bb [list cc]]] 0
+} Aa
test string-18.1 {string trim} {
list [catch {string trim} msg] $msg