summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-10-06 23:13:19 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-10-06 23:13:19 (GMT)
commit9179ac5d7ee1093c15e0cdf76142cc7eb1a10bf4 (patch)
tree572fd07f72548fcc653d45fb4b8d86475dbeb30e /tests/wm.test
parente1ce868ec996a1d61b6468328b8c850a311ff512 (diff)
downloadtk-9179ac5d7ee1093c15e0cdf76142cc7eb1a10bf4.zip
tk-9179ac5d7ee1093c15e0cdf76142cc7eb1a10bf4.tar.gz
tk-9179ac5d7ee1093c15e0cdf76142cc7eb1a10bf4.tar.bz2
Fixed some incorrect error string results and removed precision dependencies in entry tests
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wm.test b/tests/wm.test
index 725317d..8a75b86 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: wm.test,v 1.42 2008/08/01 19:39:01 patthoyts Exp $
+# RCS: @(#) $Id: wm.test,v 1.43 2008/10/06 23:13:19 patthoyts Exp $
# This file tests window manager interactions that work across platforms.
# Window manager tests that only work on a specific platform should be placed
@@ -867,14 +867,14 @@ test wm-iconphoto-1.1 {usage} -returnCodes error -body {
} -result {wrong # args: should be "wm option window ?arg ...?"}
test wm-iconphoto-1.2 {usage} -returnCodes error -body {
wm iconphoto .
-} -result {wrong # args: should be "wm iconphoto window ?-default? image ?image ...?"}
+} -result {wrong # args: should be "wm iconphoto window ?-default? image1 ?image2 ...?"}
test wm-iconphoto-1.3 {usage} -returnCodes error -body {
wm iconphoto . notanimage
} -result {can't use "notanimage" as iconphoto: not a photo image}
test wm-iconphoto-1.4 {usage} -returnCodes error -body {
# we currently have no return info
wm iconphoto . -default
-} -result {wrong # args: should be "wm iconphoto window ?-default? image ?image ...?"}
+} -result {wrong # args: should be "wm iconphoto window ?-default? image1 ?image2 ...?"}
# All other iconphoto tests are platform specific