summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-10-08 15:39:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-10-08 15:39:12 (GMT)
commitd9e14151e9140669c93fd8e8bebdc85d115b2b24 (patch)
tree857cfa00bbca1af865dda890235a6dbfb19e726e /tests/wm.test
parentb00e8aa25e4dcd2a0c38b6ba556e030a2c19c8cf (diff)
downloadtk-d9e14151e9140669c93fd8e8bebdc85d115b2b24.zip
tk-d9e14151e9140669c93fd8e8bebdc85d115b2b24.tar.gz
tk-d9e14151e9140669c93fd8e8bebdc85d115b2b24.tar.bz2
* unix/tkUnixWm.c: Restored consistency of error messages from
* macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across all platforms. [Bug 2021443]
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 4e72a0a..7a8a538 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.44 2008/10/08 15:20:17 dgp Exp $
+# RCS: @(#) $Id: wm.test,v 1.45 2008/10/08 15:39:13 dgp 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