summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-04-18 09:00:53 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-04-18 09:00:53 (GMT)
commit9e9211dce64192332846e2dec40c3bb1d0c1190b (patch)
tree38f4bb2c0e60dc8434c1a4b1e1aaba1447574790
parent509182fab829214dd2ab6c6d2c31b4d7aabf9fd7 (diff)
downloadtk-9e9211dce64192332846e2dec40c3bb1d0c1190b.zip
tk-9e9211dce64192332846e2dec40c3bb1d0c1190b.tar.gz
tk-9e9211dce64192332846e2dec40c3bb1d0c1190b.tar.bz2
Fix syntax error in textIndex-26.2 testcase.
-rw-r--r--tests/textIndex.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test
index a7b01e2..b5cac7f 100644
--- a/tests/textIndex.test
+++ b/tests/textIndex.test
@@ -981,7 +981,7 @@ test textIndex-26.2 {GetIndex errors out if mark, image or window is outside -st
.t2 insert end "line 1\nline 2\nline 3\nline 4\nline 5\nline 6\n"
pack [.t2 peer create .p2 -startline 2 -endline 3]
.p2 configure -startline 3 -endline {}
- .t2 mark set 1.0 mymark
+ .t2 mark set mymark 1.0
catch {.p2 index mymark} msg
lappend res $msg
image create photo redsquare -width 5 -height 5