summaryrefslogtreecommitdiffstats
path: root/tests/textDisp.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-13 14:54:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-13 14:54:12 (GMT)
commitf6a8214c69fd081220a6401284532d1d373749be (patch)
treeebadfcff0319ed74982a9725287d54c5291abe63 /tests/textDisp.test
parentde27a7c6e4d71115b1757e59735cbece10a62ae5 (diff)
downloadtk-f6a8214c69fd081220a6401284532d1d373749be.zip
tk-f6a8214c69fd081220a6401284532d1d373749be.tar.gz
tk-f6a8214c69fd081220a6401284532d1d373749be.tar.bz2
Fix test-cases textDisp-33.2 and textDisp-33.3tip_438_bettercode
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r--tests/textDisp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index a6bbfd7..9c6af70 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -4104,7 +4104,7 @@ test textDisp-33.2 {one line longer than fits in the widget} {
.tt debug 1
set tk_textHeightCalc ""
.tt insert 1.0 [string repeat "more wrap + " 1]
- after 100 ; update
+ after 100 ; update idletasks
# Nothing should have been recalculated.
set tk_textHeightCalc
} {}
@@ -4184,7 +4184,7 @@ test textDisp-34.1 {Text widgets multi-scrolling problem: Bug 2677890} -setup {
return $result
} -cleanup {
destroy .t1 .sy
-} -result {{0.0 1.0} {0.0 1.0} {0.0 1.0} {0.0 0.24}}
+} -result {{0.0 0.24} {0.0 0.24} {0.0 0.24} {0.0 0.24}}
deleteWindows
option clear