summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-11-22 17:54:31 (GMT)
committervincentdarley <vincentdarley>2004-11-22 17:54:31 (GMT)
commitf15611e708a189d1f1be5502fa73af4e80f8dd09 (patch)
tree3c8b4b642041fd4457216f3833577b813476f5f1 /tests
parentd5d50ee1bffe4d622aa97cd1427dc5655aa5000b (diff)
downloadtk-f15611e708a189d1f1be5502fa73af4e80f8dd09.zip
tk-f15611e708a189d1f1be5502fa73af4e80f8dd09.tar.gz
tk-f15611e708a189d1f1be5502fa73af4e80f8dd09.tar.bz2
fix a platform-sensitive test
Diffstat (limited to 'tests')
-rw-r--r--tests/textDisp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index 6ec634d..4515fa6 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textDisp.test,v 1.31 2004/11/20 15:49:47 vincentdarley Exp $
+# RCS: @(#) $Id: textDisp.test,v 1.32 2004/11/22 17:54:32 vincentdarley Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -1813,7 +1813,7 @@ test textDisp-16.15 {TkTextYviewCmd procedure, "moveto" option} {
test textDisp-16.16 {TkTextYviewCmd procedure, "moveto" option} {textfonts} {
set count [expr {5 * $bigHeight + 150 * $fixedHeight}]
set extra [expr {0.04 * double($fixedDiff * 150) / double($count)}]
- .t yview moveto [expr {.754 - $extra}]
+ .t yview moveto [expr {.753 - $extra}]
.t index @0,0
} {151.60}
test textDisp-16.17 {TkTextYviewCmd procedure, "moveto" option} {