summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-08-06 15:27:43 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-08-06 15:27:43 (GMT)
commitd3a2a48d8d9a19d934337117c18de3084225b7eb (patch)
treee5bf7182f902b17a4b74ab33befeb26fdc43ff4b /tests
parent67481f6306a54cf170cfb2c2e414ce8cf0a6ba9f (diff)
parent03a506ce3f8f464dd35f15e01795f639bd26d7fa (diff)
downloadtk-d3a2a48d8d9a19d934337117c18de3084225b7eb.zip
tk-d3a2a48d8d9a19d934337117c18de3084225b7eb.tar.gz
tk-d3a2a48d8d9a19d934337117c18de3084225b7eb.tar.bz2
merge trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/text.test b/tests/text.test
index 50db250..17eb79c 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -1589,6 +1589,16 @@ test text-8.26 {TextWidgetCmd procedure, "replace" option crash} -setup {
} -cleanup {
destroy .tt
} -result {}
+test text-8.27 {TextWidgetCmd procedure, "replace" option crash} -setup {
+ text .tt
+} -body {
+ .tt insert 0.0 \na
+ for {set i 0} {$i < 2} {incr i} {
+ .tt replace 2.0 3.0 b
+ }
+} -cleanup {
+ destroy .tt
+} -result {}
test text-9.1 {TextWidgetCmd procedure, "get" option} -setup {