summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-10-08 15:20:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-10-08 15:20:17 (GMT)
commitb00e8aa25e4dcd2a0c38b6ba556e030a2c19c8cf (patch)
treebb8619b9a8291bc57d44051470080c09106be3dc
parent63c359ba7d83c07b4e62bc619ad196646f904e4a (diff)
downloadtk-b00e8aa25e4dcd2a0c38b6ba556e030a2c19c8cf.zip
tk-b00e8aa25e4dcd2a0c38b6ba556e030a2c19c8cf.tar.gz
tk-b00e8aa25e4dcd2a0c38b6ba556e030a2c19c8cf.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