summaryrefslogtreecommitdiffstats
path: root/tests/proc.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 13:37:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 13:37:42 (GMT)
commit8f3e8012b1ad2c0f87eeba801b88e438b85143af (patch)
tree129f62422f2c348f41663d1c15a1deb2a47f4610 /tests/proc.test
parentcfe53b8870af9dc22186aadfaec26380ae433716 (diff)
parent076a7e2839881c03d0a98a8fc50823aef42ad79a (diff)
downloadtcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.zip
tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.gz
tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/proc.test')
-rw-r--r--tests/proc.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proc.test b/tests/proc.test
index 7039dbb..4b539c4 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -100,7 +100,7 @@ test proc-1.7 {Tcl_ProcObjCmd, check that formal parameter names are not array e
catch {rename p ""}
} -returnCodes error -body {
proc p {a(1) a(2)} {
- set z [expr $a(1)+$a(2)]
+ set z [expr {$a(1)+$a(2)}]
puts "$z=z, $a(1)=$a(1)"
}
} -result {formal parameter "a(1)" is an array element}