diff options
author | dgp <dgp@users.sourceforge.net> | 2018-03-13 03:15:28 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-03-13 03:15:28 (GMT) |
commit | 23178bb2087e384cb320634e4974b3dc6104eb89 (patch) | |
tree | 876e2b05ca7e7dbd7a8d40fa60bc4e9a9f08f3c2 /tests/string.test | |
parent | 6c0170972f57e3d1daf5684c55eccfb2d78b386f (diff) | |
download | tcl-23178bb2087e384cb320634e4974b3dc6104eb89.zip tcl-23178bb2087e384cb320634e4974b3dc6104eb89.tar.gz tcl-23178bb2087e384cb320634e4974b3dc6104eb89.tar.bz2 |
Tidy up and comment [string replace] and its corner cases.
Diffstat (limited to 'tests/string.test')
-rw-r--r-- | tests/string.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test index 39abd86..f3bb366 100644 --- a/tests/string.test +++ b/tests/string.test @@ -1294,6 +1294,12 @@ 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-14.19 {string replace} { + string replace {} -1 0 A +} A test string-15.1 {string tolower too few args} { list [catch {string tolower} msg] $msg |