summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-11-09 15:37:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-11-09 15:37:55 (GMT)
commitffd8329a24b35299d0efa9610743cc016203dc84 (patch)
treed6c5a2fd27dcc828aa5438bc1aeee3fd1af501d0 /tests/stringComp.test
parentb07bb89f2a73a18a69b6666c3484f3e2271f53bf (diff)
downloadtcl-ffd8329a24b35299d0efa9610743cc016203dc84.zip
tcl-ffd8329a24b35299d0efa9610743cc016203dc84.tar.gz
tcl-ffd8329a24b35299d0efa9610743cc016203dc84.tar.bz2
Implemented [string reverse].
Finalizes basic TIP#272 implementation.
Diffstat (limited to 'tests/stringComp.test')
-rw-r--r--tests/stringComp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stringComp.test b/tests/stringComp.test
index 2580d0a..08adebe 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.10 2005/05/10 18:35:24 kennykb Exp $
+# RCS: @(#) $Id: stringComp.test,v 1.11 2006/11/09 15:37:56 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -29,7 +29,7 @@ testConstraint testobj [expr {[info commands testobj] != {}}]
test stringComp-1.1 {error conditions} {
proc foo {} {string gorp a b}
list [catch {foo} msg] $msg
-} {1 {bad option "gorp": must be bytelength, compare, equal, first, index, is, last, length, map, match, range, repeat, replace, tolower, toupper, totitle, trim, trimleft, trimright, wordend, or wordstart}}
+} {1 {bad option "gorp": must be bytelength, compare, equal, first, index, is, last, length, map, match, range, repeat, replace, reverse, tolower, toupper, totitle, trim, trimleft, trimright, wordend, or wordstart}}
test stringComp-1.2 {error conditions} {
proc foo {} {string}
list [catch {foo} msg] $msg