summaryrefslogtreecommitdiffstats
path: root/tests/unixWm.test
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2004-06-16 20:03:18 (GMT)
committerjenglish@flightlab.com <jenglish>2004-06-16 20:03:18 (GMT)
commit44695e4e926e434566247302ac6939d0dded0951 (patch)
treed316493e03f85b97a1a55f3bf4a198db5c79bfbc /tests/unixWm.test
parent8955195ccec75b78f32566e7301bfdea6a92b811 (diff)
downloadtk-44695e4e926e434566247302ac6939d0dded0951.zip
tk-44695e4e926e434566247302ac6939d0dded0951.tar.gz
tk-44695e4e926e434566247302ac6939d0dded0951.tar.bz2
Fix for #742882 "Potential division by zero in gridded wm geometry"
Diffstat (limited to 'tests/unixWm.test')
-rw-r--r--tests/unixWm.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unixWm.test b/tests/unixWm.test
index aa6da1c..9d9e02e 100644
--- a/tests/unixWm.test
+++ b/tests/unixWm.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: unixWm.test,v 1.36 2003/11/18 01:47:51 dgp Exp $
+# RCS: @(#) $Id: unixWm.test,v 1.37 2004/06/16 20:03:19 jenglish Exp $
package require tcltest 2.2
eval tcltest::configure $argv
@@ -728,13 +728,13 @@ test unixWm-20.8 {Tk_WmCmd procedure, "grid" option} unix {
} {1 {expected integer but got "bar"}}
test unixWm-20.9 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 -2 13} msg] $msg
-} {1 {widthInc can't be < 0}}
+} {1 {widthInc can't be <= 0}}
test unixWm-20.10 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 12 bogus} msg] $msg
} {1 {expected integer but got "bogus"}}
test unixWm-20.11 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 12 -1} msg] $msg
-} {1 {heightInc can't be < 0}}
+} {1 {heightInc can't be <= 0}}
catch {destroy .t}
catch {destroy .icon}