diff options
author | nijtmans <nijtmans> | 2008-07-23 23:24:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-23 23:24:21 (GMT) |
commit | 535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6 (patch) | |
tree | 44da117febb11bc69d260540340f018933aa8b45 /tests/message.test | |
parent | 8daba6660a12dce054485bf87cef227741ac76a0 (diff) | |
download | tk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.zip tk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.tar.gz tk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages (for Tk)
Diffstat (limited to 'tests/message.test')
-rw-r--r-- | tests/message.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/message.test b/tests/message.test index 40daf6e..c9ad03d 100644 --- a/tests/message.test +++ b/tests/message.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-2000 by Ajuba Solutions. # All rights reserved. # -# RCS: @(#) $Id: message.test,v 1.3 2003/04/01 21:06:46 dgp Exp $ +# RCS: @(#) $Id: message.test,v 1.4 2008/07/23 23:24:25 nijtmans Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -63,7 +63,7 @@ destroy .m test message-2.1 {Tk_MessageObjCmd procedure} { list [catch {message} msg] $msg -} {1 {wrong # args: should be "message pathName ?options?"}} +} {1 {wrong # args: should be "message pathName ?-option value ...?"}} test message-2.2 {Tk_MessageObjCmd procedure} { list [catch {message foo} msg] $msg [winfo child .] } {1 {bad window path name "foo"} {}} @@ -76,7 +76,7 @@ test message-3.1 {MessageWidgetObjCmd procedure} { set result [list [catch {.m} msg] $msg] destroy .m set result -} {1 {wrong # args: should be ".m option ?arg arg ...?"}} +} {1 {wrong # args: should be ".m option ?arg ...?"}} test message-3.2 {MessageWidgetObjCmd procedure, "cget"} { message .m set result [list [catch {.m cget} msg] $msg] |