summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-05-23 19:10:47 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-05-23 19:10:47 (GMT)
commit446614938913b246606569bc98378e474f37ce9d (patch)
tree88ca7cc4dabe4b776c3906b3756a107e1dfd84d8 /tests
parent426f7ad2755b8f0e61df4675b7da0e4600959098 (diff)
downloadtk-446614938913b246606569bc98378e474f37ce9d.zip
tk-446614938913b246606569bc98378e474f37ce9d.tar.gz
tk-446614938913b246606569bc98378e474f37ce9d.tar.bz2
Fix expected result of textDisp-6.6 (same reason as previous commit). Also, remove the 'unix' constraint on this test (the test passes on Windows and X11, and fails on macOS but it fails identically as other textDisp tests).
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 fde1395..f00a707 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -925,7 +925,7 @@ test textDisp-6.5 {scrolling in DisplayText, scroll source obscured} {
destroy .f2
list $tk_textRelayout $tk_textRedraw
} {{1.0 9.0 10.0} {1.0 4.0 5.0 9.0 10.0}}
-test textDisp-6.6 {scrolling in DisplayText, Expose events after scroll} {unix} {
+test textDisp-6.6 {scrolling in DisplayText, Expose events after scroll} {
# this test depends on all of the expose events being handled at once
.t configure -wrap char
frame .f2 -bg #ff0000
@@ -941,7 +941,7 @@ test textDisp-6.6 {scrolling in DisplayText, Expose events after scroll} {unix}
destroy .f2
updateText
list $tk_textRelayout $tk_textRedraw
-} {{1.0 9.0 10.0} {borders 1.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0}}
+} {{1.0 9.0 10.0} {1.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0}}
.t configure -bd 0
test textDisp-6.7 {DisplayText, vertical scrollbar updates} {
.t configure -wrap char