summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2008-10-08 15:20:17 (GMT)
committerdgp@users.sourceforge.net <dgp>2008-10-08 15:20:17 (GMT)
commit4c829946633ad8c9919d3556b041daae7fefacfd (patch)
treebb8619b9a8291bc57d44051470080c09106be3dc
parenta047eeb0556ba7ccc1730562b6f518c3689d5368 (diff)
downloadtk-4c829946633ad8c9919d3556b041daae7fefacfd.zip
tk-4c829946633ad8c9919d3556b041daae7fefacfd.tar.gz
tk-4c829946633ad8c9919d3556b041daae7fefacfd.tar.bz2
* tests/wm.test: Update expected error messages from
[wm iconphoto] to match the new message. [Bug 2021443]
-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