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/append.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/append.test')
-rw-r--r-- | tests/append.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/append.test b/tests/append.test index 62240cd..14377fa 100644 --- a/tests/append.test +++ b/tests/append.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: append.test,v 1.9 2006/12/17 03:44:20 das Exp $ +# RCS: @(#) $Id: append.test,v 1.10 2008/07/19 22:50:39 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -46,7 +46,7 @@ test append-2.1 {long appends} { test append-3.1 {append errors} { list [catch {append} msg] $msg -} {1 {wrong # args: should be "append varName ?value value ...?"}} +} {1 {wrong # args: should be "append varName ?value ...?"}} test append-3.2 {append errors} { set x "" list [catch {append x(0) 44} msg] $msg @@ -177,7 +177,7 @@ test append-5.1 {long lappends} { test append-6.1 {lappend errors} { list [catch {lappend} msg] $msg -} {1 {wrong # args: should be "lappend varName ?value value ...?"}} +} {1 {wrong # args: should be "lappend varName ?value ...?"}} test append-6.2 {lappend errors} { set x "" list [catch {lappend x(0) 44} msg] $msg |