diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-11 09:29:29 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-11 09:29:29 (GMT) |
commit | 9af306c76fa1886a237f2ea2506f7143eaf3178e (patch) | |
tree | c13b3502f8c832acb8c65fd5e0986269a00f9bce /tests | |
parent | cf3c4a1de1beb2f4d6201aad5af2d10c71500422 (diff) | |
download | tk-9af306c76fa1886a237f2ea2506f7143eaf3178e.zip tk-9af306c76fa1886a237f2ea2506f7143eaf3178e.tar.gz tk-9af306c76fa1886a237f2ea2506f7143eaf3178e.tar.bz2 |
* generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,
there can be unnamed marks present during a dump. Ignore them as they
will just be for the peers' insert and current marks, which aren't
very important.
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 2d8d916..771a309 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.49.2.2 2009/10/22 21:41:20 dkf Exp $ +# RCS: @(#) $Id: text.test,v 1.49.2.3 2010/03/11 09:29:29 dkf Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -2936,6 +2936,15 @@ test text-22.26 {TextDumpCmd procedure, unicode characters} { .t insert 1.0 abc\xb1\xb1\xb1 .t dump -all 1.0 2.0 } "text abc\xb1\xb1\xb1 1.0 mark insert 1.6 mark current 1.6 text {\n} 1.6" +test text-22.27 {TextDumpCmd procedure, peer present} -setup { + destroy .t +} -body { + text .t + .t peer create .t.t + .t dump -all 1.0 end +} -cleanup { + destroy .t +} -result "mark insert 1.0 mark current 1.0 text {\n} 1.0" set l [interp hidden] deleteWindows |