From 38ee0e28deb314012071b8b1d34e088b202e7a60 Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 7 Feb 2002 00:51:55 +0000 Subject: added 10.18 and 10.19 extra tests --- tests/string.test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v0.12