diff options
author | fvogelnew1@free.fr <fvogel> | 2015-10-31 20:31:24 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2015-10-31 20:31:24 (GMT) |
commit | 14f2f9635dffdc1a72e359bf07f5ab1fc94403c7 (patch) | |
tree | d1f584856498666e5cc83269448032aa063103b9 /tests/text.test | |
parent | 720335d37248512ea5d046aa8e81d94a0d5e4ae1 (diff) | |
parent | 2b381aa309c30e0d83d48d3849a13fe72eb03356 (diff) | |
download | tk-14f2f9635dffdc1a72e359bf07f5ab1fc94403c7.zip tk-14f2f9635dffdc1a72e359bf07f5ab1fc94403c7.tar.gz tk-14f2f9635dffdc1a72e359bf07f5ab1fc94403c7.tar.bz2 |
Fixed bug [e51941c1b9] - text-9.2.47 fails sometimes
Diffstat (limited to 'tests/text.test')
-rw-r--r-- | tests/text.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/text.test b/tests/text.test index 746e998..7ade29a 100644 --- a/tests/text.test +++ b/tests/text.test @@ -2683,6 +2683,10 @@ test text-9.2.47 {TextWidgetCmd procedure, "count" option} -setup { .t tag configure hidden -elide true .t tag add hidden 5.7 11.0 update + # next line to be fully sure that asynchronous line heights calculation is + # up-to-date otherwise this test may fail (depending on the computer + # performance), especially when the . toplevel has small height + .t count -update -ypixels 1.0 end set y1 [lindex [.t yview] 1] .t count -displaylines 5.0 11.0 set y2 [lindex [.t yview] 1] |