summaryrefslogtreecommitdiffstats
path: root/tests/canvas.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-05 08:51:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-05 08:51:11 (GMT)
commitd68dd76dda5d0c1fc5c495b0efcb63ad73d0bc40 (patch)
tree583ec386dfbb7fed964995e459b7d7f889fb476e /tests/canvas.test
parent44d078c5d21c220c383b630169a60230ee010434 (diff)
parentbdc95807199b5fb2ad244fbd2a595825cdee1fc1 (diff)
downloadtk-d68dd76dda5d0c1fc5c495b0efcb63ad73d0bc40.zip
tk-d68dd76dda5d0c1fc5c495b0efcb63ad73d0bc40.tar.gz
tk-d68dd76dda5d0c1fc5c495b0efcb63ad73d0bc40.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/canvas.test')
-rw-r--r--tests/canvas.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/canvas.test b/tests/canvas.test
index e740fc8..6e47691 100644
--- a/tests/canvas.test
+++ b/tests/canvas.test
@@ -356,9 +356,9 @@ test canvas-9.1 {canvas id creation and deletion} -setup {
for {set i 0} {$i < $size} {incr i} {
set x [expr {-10 + 3*$i}]
for {set j 0; set y -10} {$j < 10} {incr j; incr y 3} {
- .c create rect ${x}c ${y}c [expr $x+2]c [expr $y+2]c \
+ .c create rect ${x}c ${y}c [expr {$x+2}]c [expr {$y+2}]c \
-outline black -fill blue -tags rect
- .c create text [expr $x+1]c [expr $y+1]c -text "$i,$j" \
+ .c create text [expr {$x+1}]c [expr {$y+1}]c -text "$i,$j" \
-anchor center -tags text
}
}