diff options
author | nijtmans <nijtmans> | 2008-07-21 22:22:27 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-21 22:22:27 (GMT) |
commit | 57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69 (patch) | |
tree | 939859d1daf31c3aa07ae3bd9ef742426f0aa190 /tests/lreplace.test | |
parent | ee89317ed438f41a8fa968d3a117332e96b7f155 (diff) | |
download | tcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.zip tcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.tar.gz tcl-57bdff7e68cb1e0fe66a2671b18ce67ecbb79e69.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'tests/lreplace.test')
-rw-r--r-- | tests/lreplace.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lreplace.test b/tests/lreplace.test index 6ea1f75..59934fb 100644 --- a/tests/lreplace.test +++ b/tests/lreplace.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: lreplace.test,v 1.9 2005/05/10 18:35:22 kennykb Exp $ +# RCS: @(#) $Id: lreplace.test,v 1.10 2008/07/21 22:22:28 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -104,10 +104,10 @@ test lreplace-1.26 {lreplace command} { test lreplace-2.1 {lreplace errors} { list [catch lreplace msg] $msg -} {1 {wrong # args: should be "lreplace list first last ?element element ...?"}} +} {1 {wrong # args: should be "lreplace list first last ?element ...?"}} test lreplace-2.2 {lreplace errors} { list [catch {lreplace a b} msg] $msg -} {1 {wrong # args: should be "lreplace list first last ?element element ...?"}} +} {1 {wrong # args: should be "lreplace list first last ?element ...?"}} test lreplace-2.3 {lreplace errors} { list [catch {lreplace x a 10} msg] $msg } {1 {bad index "a": must be integer?[+-]integer? or end?[+-]integer?}} |