diff options
author | dgp@users.sourceforge.net <dgp> | 2008-10-08 15:20:17 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2008-10-08 15:20:17 (GMT) |
commit | 4c829946633ad8c9919d3556b041daae7fefacfd (patch) | |
tree | bb8619b9a8291bc57d44051470080c09106be3dc | |
parent | a047eeb0556ba7ccc1730562b6f518c3689d5368 (diff) | |
download | tk-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/wm.test | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -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 |