summaryrefslogtreecommitdiffstats
path: root/tests/string.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-07 00:51:55 (GMT)
committerhobbs <hobbs>2002-02-07 00:51:55 (GMT)
commit38ee0e28deb314012071b8b1d34e088b202e7a60 (patch)
tree7c7604cb9ab45f2ecaf584bbe66d713fa11cb0ad /tests/string.test
parentccfaabaed7a36ea3bbe3ade59270e4319a969c41 (diff)
downloadtcl-38ee0e28deb314012071b8b1d34e088b202e7a60.zip
tcl-38ee0e28deb314012071b8b1d34e088b202e7a60.tar.gz
tcl-38ee0e28deb314012071b8b1d34e088b202e7a60.tar.bz2
added 10.18 and 10.19 extra tests
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/string.test b/tests/string.test
index 2ab91b2..c66390f 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: string.test,v 1.31 2002/01/02 13:52:04 dkf Exp $
+# RCS: @(#) $Id: string.test,v 1.32 2002/02/07 00:51:55 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -701,6 +701,12 @@ test string-10.16 {string map, one pair case} {
test string-10.17 {string map, one pair case} {
string map {Ab 4321} aAbCaBaAbAbcAb
} {a4321CaBa43214321c4321}
+test string-10.18 {string map, empty argument} {
+ string map -nocase {{} abc} foo
+} foo
+test string-10.19 {string map, empty arguments} {
+ string map -nocase {{} abc f bar {} def} foo
+} baroo
test string-11.1 {string match, too few args} {
list [catch {string match a} msg] $msg