summaryrefslogtreecommitdiffstats
path: root/tests/var.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 14:25:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 14:25:59 (GMT)
commit019e49cb721639318c71429003fa55ac2fbfa78d (patch)
tree835b8d5c53bb02190a5a46427f1b9b864afac725 /tests/var.test
parent991d8133789e318faad62a760b5bb76bf6dc5b87 (diff)
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-019e49cb721639318c71429003fa55ac2fbfa78d.zip
tcl-019e49cb721639318c71429003fa55ac2fbfa78d.tar.gz
tcl-019e49cb721639318c71429003fa55ac2fbfa78d.tar.bz2
Merge 8.7
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 50969f8..dcd0148 100644
--- a/tests/var.test
+++ b/tests/var.test
@@ -453,7 +453,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}