summaryrefslogtreecommitdiffstats
path: root/tests/foreach.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-28 11:08:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-28 11:08:46 (GMT)
commit33b2c943235d9343253e4dfc60cfb80ca0e064d6 (patch)
tree1fdd72c0c52d3ff402f214a7d35626e9e3558c52 /tests/foreach.test
parent82f2bed5fe26cb420a472abc95b92120a84e02cf (diff)
parent8d49123e73e1b0bbbf97cd212e88960772a9e166 (diff)
downloadtcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.zip
tcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.tar.gz
tcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/foreach.test')
-rw-r--r--tests/foreach.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/foreach.test b/tests/foreach.test
index 85dc3da..4a1c35a 100644
--- a/tests/foreach.test
+++ b/tests/foreach.test
@@ -165,7 +165,7 @@ test foreach-4.1 {noncompiled foreach and shared variable or value list objects
catch {unset x}
foreach {12.0} {a b c} {
set x 12.0
- set x [expr $x + 1]
+ set x [expr {$x + 1}]
}
set x
} 13.0