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)
commit282de06cab689f8baa856923a62e4ad99167e57c (patch)
tree0f5a26925e18c541281b2bb2e70e1bff14a04f04 /tests
parent8f14151916be38caa40822e4876fdf79ea1a984a (diff)
downloadtcl-282de06cab689f8baa856923a62e4ad99167e57c.zip
tcl-282de06cab689f8baa856923a62e4ad99167e57c.tar.gz
tcl-282de06cab689f8baa856923a62e4ad99167e57c.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