summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorculler <culler>2018-11-13 23:54:04 (GMT)
committerculler <culler>2018-11-13 23:54:04 (GMT)
commit550ea59f62f06ce9bc1171fcf296755dd99168ee (patch)
tree6230f2124f55101456ab2e5709278fe3fbeaad2b /tests
parentf84c9c8b0bf0acfdb54373ce1cf565c9d83210cc (diff)
downloadtk-550ea59f62f06ce9bc1171fcf296755dd99168ee.zip
tk-550ea59f62f06ce9bc1171fcf296755dd99168ee.tar.gz
tk-550ea59f62f06ce9bc1171fcf296755dd99168ee.tar.bz2
Calling update after pack in text.test fixes hangs on OSX 10.9.
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/text.test b/tests/text.test
index 11dd41c..95e666a 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -3021,6 +3021,7 @@ test text-11a.22 {TextWidgetCmd procedure, "sync" option with -command} -setup {
set ::x 0
toplevel .top
pack [text .top.yt]
+ update
set content {}
for {set i 1} {$i < 30} {incr i} {
append content [string repeat "$i " 15] \n
@@ -3047,6 +3048,7 @@ test text-11a.31 {"<<WidgetViewSync>>" event} -setup {
} -body {
toplevel .top
pack [text .top.yt]
+ update
set content {}
for {set i 1} {$i < 300} {incr i} {
append content [string repeat "$i " 15] \n
@@ -3080,6 +3082,7 @@ test text-11a.41 {"sync" "pendingsync" and <<WidgetViewSync>>} -setup {
set res {}
toplevel .top
pack [text .top.yt]
+ update
set content {}
for {set i 1} {$i < 300} {incr i} {
append content [string repeat "$i " 50] \n