summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tests/wm.test6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d531b58..45c13d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-08 Don Porter <dgp@users.sourceforge.net>
+
+ * tests/wm.test: Update expected error messages from
+ [wm iconphoto] to match the new message. [Bug 2021443]
+
2008-10-07 Pat Thoyts <patthoyts@users.sourceforge.net>
* tests/canvImg.test: Removed dependency on precision in results
diff --git a/tests/wm.test b/tests/wm.test
index 8a75b86..4e72a0a 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.43 2008/10/06 23:13:19 patthoyts Exp $
+# RCS: @(#) $Id: wm.test,v 1.44 2008/10/08 15:20:17 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? image1 ?image2 ...?"}
+} -result {wrong # args: should be "wm iconphoto window ?-default? image ?image ...?"}
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? image1 ?image2 ...?"}
+} -result {wrong # args: should be "wm iconphoto window ?-default? image ?image ...?"}
# All other iconphoto tests are platform specific