diff options
author | dgp <dgp@noemail.net> | 2008-10-08 15:20:16 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-10-08 15:20:16 (GMT) |
commit | eaa7074ebfc29f996a3b738b08ebe1225a0982c0 (patch) | |
tree | bb8619b9a8291bc57d44051470080c09106be3dc /tests/wm.test | |
parent | 43bd6590d2c4ba007c0183976d00fbbbaa7930f6 (diff) | |
download | tk-eaa7074ebfc29f996a3b738b08ebe1225a0982c0.zip tk-eaa7074ebfc29f996a3b738b08ebe1225a0982c0.tar.gz tk-eaa7074ebfc29f996a3b738b08ebe1225a0982c0.tar.bz2 |
* tests/wm.test: Update expected error messages from
[wm iconphoto] to match the new message. [Bug 2021443]
FossilOrigin-Name: 001b25a8e2f2f3d9edee132c06439ab2a2ddfd5f
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 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 |