summaryrefslogtreecommitdiffstats
path: root/tests/var.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/var.test
parentcfe53b8870af9dc22186aadfaec26380ae433716 (diff)
parent076a7e2839881c03d0a98a8fc50823aef42ad79a (diff)
downloadtcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.zip
tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.gz
tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/var.test')
-rw-r--r--tests/var.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/var.test b/tests/var.test
index 72873b7..19b7703 100644
--- a/tests/var.test
+++ b/tests/var.test
@@ -452,7 +452,7 @@ test var-7.4 {Tcl_VariableObjCmd, list of vars} -setup {
variable three 3 four 4
}
list [lsort [info vars test_ns_var::*]] \
- [namespace eval test_ns_var {expr $three+$four}]
+ [namespace eval test_ns_var {expr {$three+$four}}]
} -result [list [lsort {::test_ns_var::four ::test_ns_var::three ::test_ns_var::two ::test_ns_var::one}] 7]
test var-7.5 {Tcl_VariableObjCmd, value for last var is optional} -setup {
catch {unset a}