summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2002-02-07 00:51:55 (GMT)
committerhobbs <hobbs@noemail.net>2002-02-07 00:51:55 (GMT)
commitfbf0b2ccc886c46a6e979b6f65914422ac15c7c7 (patch)
tree7c7604cb9ab45f2ecaf584bbe66d713fa11cb0ad
parent642072ad787766e9c7b0b20f3cb34fdc5539344e (diff)
downloadtcl-fbf0b2ccc886c46a6e979b6f65914422ac15c7c7.zip
tcl-fbf0b2ccc886c46a6e979b6f65914422ac15c7c7.tar.gz
tcl-fbf0b2ccc886c46a6e979b6f65914422ac15c7c7.tar.bz2
added 10.18 and 10.19 extra tests
FossilOrigin-Name: cf60e92880daa279463770b264976adeb6ed7887
-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