diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-06-08 20:56:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-06-08 20:56:42 (GMT) |
commit | b0cdbce5039f1270a6d6bd99779a29a1b342bcf6 (patch) | |
tree | 148955b47587ce7b9de70cf2bc936caf97c7c97a /tests/string.test | |
parent | e2f893c45dbe2a557d9cd795832810381969813b (diff) | |
download | tcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.zip tcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.tar.gz tcl-b0cdbce5039f1270a6d6bd99779a29a1b342bcf6.tar.bz2 |
Forgot to fix the relevant tests
Diffstat (limited to 'tests/string.test')
-rw-r--r-- | tests/string.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/string.test b/tests/string.test index 6033e57..4723dbc 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.62 2007/03/30 15:31:02 dgp Exp $ +# RCS: @(#) $Id: string.test,v 1.63 2007/06/08 20:56:42 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -173,13 +173,13 @@ test string-3.8 {string equal with length, unequal strings} { test string-4.1 {string first, too few args} { list [catch {string first a} msg] $msg -} {1 {wrong # args: should be "string first subString string ?startIndex?"}} +} {1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}} test string-4.2 {string first, bad args} { list [catch {string first a b c} msg] $msg } {1 {bad index "c": must be integer?[+-]integer? or end?[+-]integer?}} test string-4.3 {string first, too many args} { list [catch {string first a b 5 d} msg] $msg -} {1 {wrong # args: should be "string first subString string ?startIndex?"}} +} {1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}} test string-4.4 {string first} { string first bq abcdefgbcefgbqrs } 12 @@ -674,13 +674,13 @@ catch {rename largest_int {}} test string-7.1 {string last, too few args} { list [catch {string last a} msg] $msg -} {1 {wrong # args: should be "string last subString string ?startIndex?"}} +} {1 {wrong # args: should be "string last needleString haystackString ?startIndex?"}} test string-7.2 {string last, bad args} { list [catch {string last a b c} msg] $msg } {1 {bad index "c": must be integer?[+-]integer? or end?[+-]integer?}} test string-7.3 {string last, too many args} { list [catch {string last a b c d} msg] $msg -} {1 {wrong # args: should be "string last subString string ?startIndex?"}} +} {1 {wrong # args: should be "string last needleString haystackString ?startIndex?"}} test string-7.4 {string last} { string la xxx xxxx123xx345x678 } 1 |