summaryrefslogtreecommitdiffstats
path: root/tests/textWind.test
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-10-31 18:05:49 (GMT)
committervincentdarley <vincentdarley>2003-10-31 18:05:49 (GMT)
commita49a14794dfde7043b0c9ec047ff65b131e20276 (patch)
tree021095698d236a02e87fd58a8b315fb5163d74ee /tests/textWind.test
parent3e4b9ddf078d687679e15a6b5fc0c024884a1d9a (diff)
downloadtk-a49a14794dfde7043b0c9ec047ff65b131e20276.zip
tk-a49a14794dfde7043b0c9ec047ff65b131e20276.tar.gz
tk-a49a14794dfde7043b0c9ec047ff65b131e20276.tar.bz2
fixed constrained tests for tip155
Diffstat (limited to 'tests/textWind.test')
-rw-r--r--tests/textWind.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index 6d60d54..8cc56db 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: textWind.test,v 1.9 2003/10/31 09:02:17 vincentdarley Exp $
+# RCS: @(#) $Id: textWind.test,v 1.10 2003/10/31 18:05:49 vincentdarley Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -432,6 +432,7 @@ test textWind-10.3 {EmbWinLayoutProc procedure, error in creating window} {fonts
test textWind-10.4 {EmbWinLayoutProc procedure, error in creating window} {fonts} {
.t delete 1.0 end
.t insert 1.0 "Some sample text"
+ catch {destroy .t.f}
.t window create 1.5 -create {
frame .t.f
frame .t.f.f -width 10 -height 20 -bg $color
@@ -454,6 +455,7 @@ test textWind-10.5 {EmbWinLayoutProc procedure, error in creating window} {fonts
test textWind-10.6 {EmbWinLayoutProc procedure, error in creating window} {fonts} {
.t delete 1.0 end
.t insert 1.0 "Some sample text"
+ catch {destroy .t2}
.t window create 1.5 -create {
toplevel .t2 -width 100 -height 150
wm geom .t2 +0+0