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/spinbox.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/spinbox.test')
-rw-r--r-- | tests/spinbox.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test index 6a7cc2a..5393c4f 100644 --- a/tests/spinbox.test +++ b/tests/spinbox.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: spinbox.test,v 1.10 2008/07/22 11:55:57 aniap Exp $ +# RCS: @(#) $Id: spinbox.test,v 1.11 2008/07/23 23:24:25 nijtmans Exp $ package require tcltest 2.2 namespace import ::tcltest::* @@ -988,7 +988,7 @@ test spinbox-1.85 {configuration option: "xscrollcommand"} -setup { test spinbox-2.1 {Tk_EntryCmd procedure} -body { spinbox -} -returnCodes error -result {wrong # args: should be "spinbox pathName ?options?"} +} -returnCodes error -result {wrong # args: should be "spinbox pathName ?-option value ...?"} test spinbox-2.2 {Tk_EntryCmd procedure} -body { spinbox gorp } -returnCodes error -result {bad window path name "gorp"} @@ -1026,7 +1026,7 @@ test spinbox-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 spinbox-3.2 {EntryWidgetCmd procedure, "bbox" widget command} -setup { spinbox .e -font {Courier -12} -borderwidth 2 -highlightthickness 2 pack .e |