summaryrefslogtreecommitdiffstats
path: root/tests/text.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-11-09 12:46:09 (GMT)
committervincentdarley <vincentdarley>2004-11-09 12:46:09 (GMT)
commitb7be4e0e9de6b6cb325269f53ce18596d73b4426 (patch)
treec929e40207f8d3ff0223c110e2d55935f7eb4bdd /tests/text.test
parent13e3b568dfa3585aed1b9ec8e1e1737dc310e087 (diff)
downloadtk-b7be4e0e9de6b6cb325269f53ce18596d73b4426.zip
tk-b7be4e0e9de6b6cb325269f53ce18596d73b4426.tar.gz
tk-b7be4e0e9de6b6cb325269f53ce18596d73b4426.tar.bz2
fix to MacOSX compound button layout
Diffstat (limited to 'tests/text.test')
-rw-r--r--tests/text.test10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test
index aeebf6f..70cbaa2 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.33 2004/09/23 14:57:25 vincentdarley Exp $
+# RCS: @(#) $Id: text.test,v 1.34 2004/11/09 12:46:10 vincentdarley Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -2648,6 +2648,14 @@ test text-20.172 {TextSearchCmd, regexp search multi-line} {knownBug} {
# Should match at 1.0 for a true greedy match
} {1.0}
+test text-20.172.1 {TextSearchCmd, regexp search multi-line} {knownBug} {
+ deleteWindows
+ pack [text .t2]
+ .t2 insert 1.0 "line0\nline1\nline1\nline1\nline1\nline2\nline2\nline2\nline3\n"
+ .t2 search -nolinestop -regexp -nocase -forwards -- {^(.*)\n(\1\n)+} 1.0 end
+ # Matches at 6.0 currently
+} {2.0}
+
test text-20.173 {TextSearchCmd, regexp search multi-line} {
deleteWindows
pack [text .t2]