summaryrefslogtreecommitdiffstats
path: root/tests/string.test
diff options
context:
space:
mode:
authorandy <andrew.m.goth@gmail.com>2017-08-30 15:29:16 (GMT)
committerandy <andrew.m.goth@gmail.com>2017-08-30 15:29:16 (GMT)
commit7aafa756acec8c1f6746b28c8538c9868f5a89bf (patch)
treeea25f1c0e1743abba7cf716f70928ae072684ba0 /tests/string.test
parent6d8b0c705f0d36540ea0d5624619a64a38986ec8 (diff)
downloadtcl-7aafa756acec8c1f6746b28c8538c9868f5a89bf.zip
tcl-7aafa756acec8c1f6746b28c8538c9868f5a89bf.tar.gz
tcl-7aafa756acec8c1f6746b28c8538c9868f5a89bf.tar.bz2
Cherrypick string.test [de104ef5ab]
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 7b02928..549944d 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -1371,6 +1371,9 @@ test string-14.16 {string replace} {
test string-14.17 {string replace} {
string replace abcdefghijklmnop end end-1
} {abcdefghijklmnop}
+test string-14.18 {string replace} {
+ string replace abcdefghijklmnop 10 9 XXX
+} {abcdefghijklmnop}
test string-15.1 {string tolower too few args} {
list [catch {string tolower} msg] $msg