summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-02-05 19:20:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-02-05 19:20:55 (GMT)
commit977b9c15dce097523212ad652f799ae0f69539c5 (patch)
treef39fbde47579b1d3856fd6511261e4623b24f782 /tests
parent96c384c361eb309a107faf06bc2c73bf1e356997 (diff)
parent35010244e5e187016b9d9d4b2cc81ce919c0e9e2 (diff)
downloadtk-977b9c15dce097523212ad652f799ae0f69539c5.zip
tk-977b9c15dce097523212ad652f799ae0f69539c5.tar.gz
tk-977b9c15dce097523212ad652f799ae0f69539c5.tar.bz2
Fix crashing test case, textDisp-8.13
Diffstat (limited to 'tests')
-rw-r--r--tests/textDisp.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test
index ac3aee0..6f26457 100644
--- a/tests/textDisp.test
+++ b/tests/textDisp.test
@@ -1192,6 +1192,15 @@ test textDisp-8.12 {TkTextChanged, moving the insert cursor redraws only past an
# cursor is in since this display line was just unlinked in (a).
} {{8.0 9.0} {8.0 12.0} {8.0 12.0} {3.0 8.0} {2.0 3.0}}
+test textDisp-8.13 {TkTextChanged, [06c1433906]} {
+ .t delete 1.0 end
+ .t insert 1.0 \nLine1\nLine2\n
+ update
+ .t insert 3.0 ""
+ .t delete 1.0 2.0
+ update idletasks
+} {}
+
test textDisp-9.1 {TkTextRedrawTag} {
.t configure -wrap char
.t delete 1.0 end