diff options
author | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
commit | 421f74b6e684727db193b1b1fc1e3a9649f86f58 (patch) | |
tree | c042d36466266a5022288e3db7d8d9a7dc6e81be /tests/appendComp.test | |
parent | 9c9a7764a3a00160ff48011547624ecf659a3dc9 (diff) | |
download | tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.zip tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.gz tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'tests/appendComp.test')
-rw-r--r-- | tests/appendComp.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/appendComp.test b/tests/appendComp.test index c946d35..dd0b4d0 100644 --- a/tests/appendComp.test +++ b/tests/appendComp.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: appendComp.test,v 1.9 2005/05/10 18:34:56 kennykb Exp $ +# RCS: @(#) $Id: appendComp.test,v 1.10 2008/07/19 22:50:38 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -57,7 +57,7 @@ test appendComp-2.1 {long appends} { test appendComp-3.1 {append errors} { proc foo {} {append} list [catch {foo} msg] $msg -} {1 {wrong # args: should be "append varName ?value value ...?"}} +} {1 {wrong # args: should be "append varName ?value ...?"}} test appendComp-3.2 {append errors} { proc foo {} { set x "" @@ -232,7 +232,7 @@ test appendComp-5.1 {long lappends} { test appendComp-6.1 {lappend errors} { proc foo {} {lappend} list [catch {foo} msg] $msg -} {1 {wrong # args: should be "lappend varName ?value value ...?"}} +} {1 {wrong # args: should be "lappend varName ?value ...?"}} test appendComp-6.2 {lappend errors} { proc foo {} { set x "" |