summaryrefslogtreecommitdiffstats
path: root/tests/lset.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lset.test')
-rw-r--r--tests/lset.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lset.test b/tests/lset.test
index 63c0975..c10f433 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}"