diff options
author | hobbs <hobbs@noemail.net> | 2006-04-05 20:54:26 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2006-04-05 20:54:26 (GMT) |
commit | 8f8694d701280381b2203ca7a520a78f2bd11a49 (patch) | |
tree | e3020f1a16c91238ef3d859fa4be4d98a1162faa /tests/wm.test | |
parent | 768847ec754e844095a0677eec31c4e760613428 (diff) | |
download | tk-8f8694d701280381b2203ca7a520a78f2bd11a49.zip tk-8f8694d701280381b2203ca7a520a78f2bd11a49.tar.gz tk-8f8694d701280381b2203ca7a520a78f2bd11a49.tar.bz2 |
(wm-attributes-1.2.4): correct expected result
FossilOrigin-Name: c14beb210aed99a5c9f3d08b218c4b6335715218
Diffstat (limited to 'tests/wm.test')
-rw-r--r-- | tests/wm.test | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test index 3b86f86..99e6b76 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.34 2005/02/17 00:06:08 mdejong Exp $ +# RCS: @(#) $Id: wm.test,v 1.35 2006/04/05 20:54:27 hobbs Exp $ # This file tests window manager interactions that work across # platforms. Window manager tests that only work on a specific @@ -115,17 +115,21 @@ test wm-attributes-1.1 {usage} { list [catch {wm attributes} err] $err } {1 {wrong # args: should be "wm option window ?arg ...?"}} test wm-attributes-1.2.1 {usage} win { + # This is the wrong error to output - unix has it right, but it's + # not critical. list [catch {wm attributes . _} err] $err } {1 {wrong # args: should be "wm attributes window ?-alpha ?double?? ?-disabled ?bool?? ?-fullscreen ?bool?? ?-toolwindow ?bool?? ?-topmost ?bool??"}} test wm-attributes-1.2.2 {usage} win { list [catch {wm attributes . -alpha 1.0 -disabled} err] $err } {1 {wrong # args: should be "wm attributes window ?-alpha ?double?? ?-disabled ?bool?? ?-fullscreen ?bool?? ?-toolwindow ?bool?? ?-topmost ?bool??"}} test wm-attributes-1.2.3 {usage} win { + # This is the wrong error to output - unix has it right, but it's + # not critical. list [catch {wm attributes . -to} err] $err } {1 {wrong # args: should be "wm attributes window ?-alpha ?double?? ?-disabled ?bool?? ?-fullscreen ?bool?? ?-toolwindow ?bool?? ?-topmost ?bool??"}} test wm-attributes-1.2.4 {usage} unix { list [catch {wm attributes . _} err] $err -} {1 {wrong # args: should be "wm attributes window"}} +} {1 {bad attribute "_": must be -alpha, -topmost, -zoomed, or -fullscreen}} ### wm client ### |