summaryrefslogtreecommitdiffstats
path: root/tests/entry.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-23 23:24:21 (GMT)
committernijtmans <nijtmans>2008-07-23 23:24:21 (GMT)
commit535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6 (patch)
tree44da117febb11bc69d260540340f018933aa8b45 /tests/entry.test
parent8daba6660a12dce054485bf87cef227741ac76a0 (diff)
downloadtk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.zip
tk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.tar.gz
tk-535ee80de6d5c048f9a3ae7a5956b114e9a5e3f6.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (for Tk)
Diffstat (limited to 'tests/entry.test')
-rw-r--r--tests/entry.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/entry.test b/tests/entry.test
index 83d16a0..51ff390 100644
--- a/tests/entry.test
+++ b/tests/entry.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: entry.test,v 1.23 2008/07/22 11:55:57 aniap Exp $
+# RCS: @(#) $Id: entry.test,v 1.24 2008/07/23 23:24:25 nijtmans Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -633,7 +633,7 @@ test entry-1.58 {configuration option: "xscrollcommand" for entry} -setup {
test entry-2.1 {Tk_EntryCmd procedure} -body {
entry
-} -returnCodes error -result {wrong # args: should be "entry pathName ?options?"}
+} -returnCodes error -result {wrong # args: should be "entry pathName ?-option value ...?"}
test entry-2.2 {Tk_EntryCmd procedure} -body {
entry gorp
} -returnCodes error -result {bad window path name "gorp"}
@@ -671,7 +671,7 @@ test entry-3.1 {EntryWidgetCmd procedure} -setup {
.e
} -cleanup {
destroy .e
-} -returnCodes error -result {wrong # args: should be ".e option ?arg arg ...?"}
+} -returnCodes error -result {wrong # args: should be ".e option ?arg ...?"}
test entry-3.2 {EntryWidgetCmd procedure, "bbox" widget command} -setup {
entry .e -font {Courier -12} -borderwidth 2 -highlightthickness 2
pack .e