summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorculler <culler>2019-10-09 22:45:50 (GMT)
committerculler <culler>2019-10-09 22:45:50 (GMT)
commitd34505a8e178a83ba9d646c00008a093a2ccb781 (patch)
tree9c0345925103ce7c7250cea3826d823add042545 /tests
parent27b59eaf88dedd22fca3556075d287565f94cb86 (diff)
downloadtk-d34505a8e178a83ba9d646c00008a093a2ccb781.zip
tk-d34505a8e178a83ba9d646c00008a093a2ccb781.tar.gz
tk-d34505a8e178a83ba9d646c00008a093a2ccb781.tar.bz2
Revert to using update in textWind.test.
Diffstat (limited to 'tests')
-rw-r--r--tests/textWind.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index f083026..938357b 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -953,14 +953,14 @@ test textWind-11.1 {EmbWinDisplayProc procedure, geometry transforms} -setup {
place forget .t
pack .t
# Make sure the Text is mapped before we start
- update idletasks
+ update
} -body {
.t insert 1.0 "Some sample text"
pack forget .t
place .t -x 30 -y 50
frame .f -width 30 -height 20 -bg $color
.t window create 1.12 -window .f
- update idletasks ; after 100 ; update idletasks
+ update ; after 100 ; update
winfo geom .f
} -cleanup {
destroy .f
@@ -973,14 +973,14 @@ test textWind-11.2 {EmbWinDisplayProc procedure, geometry transforms} -setup {
place forget .t
pack .t
# Make sure the Text is mapped before we start
- update idletasks
+ update
} -body {
.t insert 1.0 "Some sample text"
pack forget .t
place .t -x 30 -y 50
frame .t.f -width 30 -height 20 -bg $color
.t window create 1.12 -window .t.f
- update idletasks ; after 100 ; update idletasks
+ update ; after 100 ; update
winfo geom .t.f
} -cleanup {
destroy .t.f