diff options
author | dgp <dgp@users.sourceforge.net> | 2007-12-12 14:13:08 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-12-12 14:13:08 (GMT) |
commit | 4ab5dcf151a4b668fb170ae82adea3af495130d2 (patch) | |
tree | 029fae5530aeaec373a4eb28b686ff94a713187b /tests | |
parent | 81a1693b1c416801e50d052f141b38c68887ea72 (diff) | |
download | tk-4ab5dcf151a4b668fb170ae82adea3af495130d2.zip tk-4ab5dcf151a4b668fb170ae82adea3af495130d2.tar.gz tk-4ab5dcf151a4b668fb170ae82adea3af495130d2.tar.bz2 |
merge updates from HEAD
Diffstat (limited to 'tests')
-rw-r--r-- | tests/text.test | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test index e115d43..6a05a3b 100644 --- a/tests/text.test +++ b/tests/text.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: text.test,v 1.46 2006/10/17 10:21:50 patthoyts Exp $ +# RCS: @(#) $Id: text.test,v 1.46.2.1 2007/12/12 14:13:10 dgp Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -423,6 +423,15 @@ test text-8.24 {TextWidgetCmd procedure, "replace" option with peers, undo} { lappend res 1 } } {foo 0 1} +test text-8.25 {TextWidgetCmd procedure, "replace" option crash} -setup { + destroy .tt +} -body { + text .tt + .tt insert 0.0 foo\n + .tt replace end-1l end bar +} -cleanup { + destroy .tt +} -result {} .t delete 1.0 end; .t insert 1.0 $prevtext |