summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/textIndex.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index 8fcba28..558a9aa 100644
--- a/tests/textIndex.test
+++ b/tests/textIndex.test
@@ -945,10 +945,12 @@ test textIndex-22.16 {text index wordstart, bug [57b821d2db]} {
catch {destroy .t}
text .t
.t insert 1.0 " 123 5 789012 LINE-1\n\n 123 5 789000 LINE-3\n\n0123 5 789012 LINE-5"
- set res [.t index "5.0 wordstart"]
+ set res [.t index "1.1 wordstart"]
+ lappend res [.t index "5.0 wordstart"]
.t mark set insert 1.1
lappend res [.t index "insert wordstart"]
-} {5.0 1.1}
+ lappend res [.t index "5.1 wordstart"]
+} {1.1 5.0 1.1 5.0}
test textIndex-23.1 {text paragraph start} {
pack [text .t2]