summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-06-22 12:12:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-06-22 12:12:47 (GMT)
commita35c44837e371dd481d28c540dce4668e1f2e609 (patch)
treee2d01b3935ec618895c763e67c06a8416073a844 /tests
parent3b15548a4ac0aa8655d74ed636f4221b38b14c37 (diff)
downloadtcl-a35c44837e371dd481d28c540dce4668e1f2e609.zip
tcl-a35c44837e371dd481d28c540dce4668e1f2e609.tar.gz
tcl-a35c44837e371dd481d28c540dce4668e1f2e609.tar.bz2
* generic/tclCmdIL.c (Tcl_LsetObjCmd): [Bug 3019351]: Corrected wrong
args message.
Diffstat (limited to 'tests')
-rw-r--r--tests/lset.test2
-rwxr-xr-xtests/lsetComp.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lset.test b/tests/lset.test
index 872047b..ba6ad1f 100644
--- a/tests/lset.test
+++ b/tests/lset.test
@@ -31,7 +31,7 @@ trace add variable noWrite write failTrace
test lset-1.1 {lset, not compiled, arg count} testevalex {
list [catch {testevalex lset} msg] $msg
-} "1 {wrong \# args: should be \"lset listVar index ?index...? value\"}"
+} "1 {wrong \# args: should be \"lset listVar ?index? ?index...? value\"}"
test lset-1.2 {lset, not compiled, no such var} testevalex {
list [catch {testevalex {lset noSuchVar 0 {}}} msg] $msg
} "1 {can't read \"noSuchVar\": no such variable}"
diff --git a/tests/lsetComp.test b/tests/lsetComp.test
index 6b9264c..476ff71 100755
--- a/tests/lsetComp.test
+++ b/tests/lsetComp.test
@@ -36,7 +36,7 @@ test lsetComp-1.1 {lset, compiled, wrong \# args} {
evalInProc {
lset
}
-} "1 {wrong \# args: should be \"lset listVar index ?index...? value\"}"
+} "1 {wrong \# args: should be \"lset listVar ?index? ?index...? value\"}"
test lsetComp-2.1 {lset, compiled, list of args, not a simple var name} {
evalInProc {