summaryrefslogtreecommitdiffstats
path: root/tests/grab.test
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-07-23 23:24:21 (GMT)
committernijtmans <nijtmans@noemail.net>2008-07-23 23:24:21 (GMT)
commitdfe078ce9d3d6919f553fdc611cf66c98bc035f5 (patch)
tree44da117febb11bc69d260540340f018933aa8b45 /tests/grab.test
parentd569f52b5bd1880c64bfeda38b4c8d5791501921 (diff)
downloadtk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.zip
tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.gz
tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (for Tk)
FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
Diffstat (limited to 'tests/grab.test')
-rw-r--r--tests/grab.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/grab.test b/tests/grab.test
index d2ee4b2..3baf7a5 100644
--- a/tests/grab.test
+++ b/tests/grab.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-2000 by Ajuba Solutions.
# All rights reserved.
#
-# RCS: @(#) $Id: grab.test,v 1.3 2003/04/01 21:06:35 dgp Exp $
+# RCS: @(#) $Id: grab.test,v 1.4 2008/07/23 23:24:24 nijtmans Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -19,13 +19,13 @@ tcltest::loadTestedCommands
test grab-1.1 {Tk_GrabObjCmd} {
list [catch {grab} msg] $msg
-} [list 1 "wrong # args: should be \"grab ?-global? window\" or \"grab option ?arg arg ...?\""]
+} [list 1 "wrong # args: should be \"grab ?-global? window\" or \"grab option ?arg ...?\""]
test grab-1.2 {Tk_GrabObjCmd} {
rename grab grabTest1.2
set res [list [catch {grabTest1.2} msg] $msg]
rename grabTest1.2 grab
set res
-} [list 1 "wrong # args: should be \"grabTest1.2 ?-global? window\" or \"grabTest1.2 option ?arg arg ...?\""]
+} [list 1 "wrong # args: should be \"grabTest1.2 ?-global? window\" or \"grabTest1.2 option ?arg ...?\""]
test grab-1.3 {Tk_GrabObjCmd, "grab ?-global? window"} {
list [catch {grab .foo bar baz} msg] $msg