summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-06-08 20:56:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-06-08 20:56:42 (GMT)
commitb0cdbce5039f1270a6d6bd99779a29a1b342bcf6 (patch)
tree148955b47587ce7b9de70cf2bc936caf97c7c97a /tests/stringComp.test
parente2f893c45dbe2a557d9cd795832810381969813b (diff)
downloadtcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.zip
tcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.tar.gz
tcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.tar.bz2
Forgot to fix the relevant tests
Diffstat (limited to 'tests/stringComp.test')
-rw-r--r--tests/stringComp.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stringComp.test b/tests/stringComp.test
index 08adebe..42cf5f4 100644
--- a/tests/stringComp.test
+++ b/tests/stringComp.test
@@ -15,7 +15,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: stringComp.test,v 1.11 2006/11/09 15:37:56 dkf Exp $
+# RCS: @(#) $Id: stringComp.test,v 1.12 2007/06/08 20:56:42 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -222,7 +222,7 @@ test stringComp-3.8 {string equal with length, unequal strings} {
test stringComp-4.1 {string first, too few args} {
proc foo {} {string first a}
list [catch {foo} msg] $msg
-} {1 {wrong # args: should be "string first subString string ?startIndex?"}}
+} {1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}}
test stringComp-4.2 {string first, bad args} {
proc foo {} {string first a b c}
list [catch {foo} msg] $msg
@@ -230,7 +230,7 @@ test stringComp-4.2 {string first, bad args} {
test stringComp-4.3 {string first, too many args} {
proc foo {} {string first a b 5 d}
list [catch {foo} msg] $msg
-} {1 {wrong # args: should be "string first subString string ?startIndex?"}}
+} {1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}}
test stringComp-4.4 {string first} {
proc foo {} {string first bq abcdefgbcefgbqrs}
foo