summaryrefslogtreecommitdiffstats
path: root/tests/string.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-05-12 22:48:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-05-12 22:48:17 (GMT)
commit440ee6251d8d7ba01d8bc5f4b013d9488baebe58 (patch)
tree0bfd36d33dc4de45dfd1c0dabb1fcbeb07fda76a /tests/string.test
parent467dc720723d083a696ff01eb02a14e71cc28b58 (diff)
downloadtcl-440ee6251d8d7ba01d8bc5f4b013d9488baebe58.zip
tcl-440ee6251d8d7ba01d8bc5f4b013d9488baebe58.tar.gz
tcl-440ee6251d8d7ba01d8bc5f4b013d9488baebe58.tar.bz2
Corrected duplication of test names
Diffstat (limited to 'tests/string.test')
-rw-r--r--tests/string.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/string.test b/tests/string.test
index 1008c42..02555a4 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.48 2005/05/11 00:51:28 hobbs Exp $
+# RCS: @(#) $Id: string.test,v 1.49 2005/05/12 22:48:17 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -806,10 +806,6 @@ test string-10.20 {string map, dictionaries can alter map ordering} {
set map {aa X a Y}
list [string map [dict create aa X a Y] aaa] [string map $map aaa] [dict size $map] [string map $map aaa]
} {YYY XY 2 XY}
-test string-10.21 {string map, nasty sharing crash from [Bug 1018562]} {
- set a {a b}
- string map $a $a
-} {b b}
test string-10.21 {string map, ABR checks} {
string map {longstring foob} long
} long
@@ -840,6 +836,10 @@ test string-10.29 {string map, ABR checks} {
test string-10.30 {string map, ABR checks} {
string map {lon foob longstring bar} longlon
} foobgfoob
+test string-10.31 {string map, nasty sharing crash from [Bug 1018562]} {
+ set a {a b}
+ string map $a $a
+} {b b}
test string-11.1 {string match, too few args} {
list [catch {string match a} msg] $msg