summaryrefslogtreecommitdiffstats
path: root/tests/frame.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/frame.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/frame.test')
-rw-r--r--tests/frame.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/frame.test b/tests/frame.test
index b7f9493..6eaa356 100644
--- a/tests/frame.test
+++ b/tests/frame.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: frame.test,v 1.16 2007/05/11 12:36:04 patthoyts Exp $
+# RCS: @(#) $Id: frame.test,v 1.17 2008/07/23 23:24:25 nijtmans Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -259,7 +259,7 @@ foreach test {
test frame-3.1 {TkCreateFrame procedure} -body {
frame
-} -returnCodes error -result {wrong # args: should be "frame pathName ?options?"}
+} -returnCodes error -result {wrong # args: should be "frame pathName ?-option value ...?"}
test frame-3.2 {TkCreateFrame procedure} -setup {
catch {destroy .f}
frame .f
@@ -499,7 +499,7 @@ catch {destroy .f}
frame .f -highlightcolor black
test frame-5.1 {FrameWidgetCommand procedure} {
list [catch .f msg] $msg
-} {1 {wrong # args: should be ".f option ?arg arg ...?"}}
+} {1 {wrong # args: should be ".f option ?arg ...?"}}
test frame-5.2 {FrameWidgetCommand procedure, cget option} {
list [catch {.f cget} msg] $msg
} {1 {wrong # args: should be ".f cget option"}}