summaryrefslogtreecommitdiffstats
path: root/tests/textIndex.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-04-14 20:14:41 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-04-14 20:14:41 (GMT)
commit147e6b910599a2694c45a672ca9a06e8864f78ad (patch)
tree24927d2ee7fdd1b1860eba917f9b3f5212f6b40c /tests/textIndex.test
parent8550afdcfc409d1fa37e7d64832bceca4be6a9b0 (diff)
downloadtk-147e6b910599a2694c45a672ca9a06e8864f78ad.zip
tk-147e6b910599a2694c45a672ca9a06e8864f78ad.tar.gz
tk-147e6b910599a2694c45a672ca9a06e8864f78ad.tar.bz2
Add test textIndex-19.12.1 checking for regressions regarding the '1.5 - n displaylines' fix [4384effe]
Diffstat (limited to 'tests/textIndex.test')
-rw-r--r--tests/textIndex.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index 7d44516..b2ab842 100644
--- a/tests/textIndex.test
+++ b/tests/textIndex.test
@@ -803,6 +803,10 @@ test textIndex-19.12 {Display lines} {
.t index "2.40 -1displaylines"
} {2.20}
+test textIndex-19.12.1 {Display lines} {
+ .t index "2.50 - 100 displaylines"
+} {1.0}
+
test textIndex-19.13 {Display lines} {
destroy {*}[pack slaves .]
text .txt -height 1 -wrap word -yscroll ".sbar set" -width 400