diff options
author | dgp@users.sourceforge.net <dgp> | 2008-10-08 15:39:12 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2008-10-08 15:39:12 (GMT) |
commit | 82e72d37c532ecdc21d298308bc4d4a093dca340 (patch) | |
tree | 857cfa00bbca1af865dda890235a6dbfb19e726e /tests/wm.test | |
parent | ede7b9d787982fd94e6b2b52a73362042bf9a136 (diff) | |
download | tk-82e72d37c532ecdc21d298308bc4d4a093dca340.zip tk-82e72d37c532ecdc21d298308bc4d4a093dca340.tar.gz tk-82e72d37c532ecdc21d298308bc4d4a093dca340.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.test | 6 |
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 |