summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-10-21 16:23:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-10-21 16:23:37 (GMT)
commit210165d350a02aff50fae878854fb50b61d6e432 (patch)
treec7ddaeca3f414ba46bc7dbe53a04c6132eb9d2bd /tests
parent38f526f519657d58703e013e4415a7e4788ec33f (diff)
parent56a9c541052f8779ea0124308d27a12041e7cfbe (diff)
downloadtk-210165d350a02aff50fae878854fb50b61d6e432.zip
tk-210165d350a02aff50fae878854fb50b61d6e432.tar.gz
tk-210165d350a02aff50fae878854fb50b61d6e432.tar.bz2
Remove knownBug constraint on test scrollbar-6.27 as this test now passes (checked on Vista - comment there was for Win2K)
Diffstat (limited to 'tests')
-rw-r--r--tests/scrollbar.test6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/scrollbar.test b/tests/scrollbar.test
index 06be478..cde99a0 100644
--- a/tests/scrollbar.test
+++ b/tests/scrollbar.test
@@ -541,11 +541,7 @@ test scrollbar-6.24 {ScrollbarPosition procedure} unix {
test scrollbar-6.25 {ScrollbarPosition procedure} unix {
.s identify 8 179
} {trough2}
-test scrollbar-6.27 {ScrollbarPosition procedure} {testmetrics win knownBug} {
- # This asks for 8,21, which is actually the slider, but there is a
- # bug in that GetSystemMetrics(SM_CYVTHUMB) actually returns a value
- # that is larger than the thumb displayed, skewing the ability to
- # calculate the trough2 area correctly (Win2k). -- hobbs
+test scrollbar-6.27 {ScrollbarPosition procedure} {testmetrics win} {
.s identify [expr [winfo width .s] / 2] [expr int(.4 / [.s delta 0 1]) \
+ [testmetrics cyvscroll .s]]
} {trough2}