diff options
author | nijtmans <nijtmans> | 2008-07-23 23:24:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-23 23:24:21 (GMT) |
commit | 964d4bd9ede0f357d352461903f4bbaef72b803c (patch) | |
tree | 44da117febb11bc69d260540340f018933aa8b45 /tests/button.test | |
parent | 486227592fd092093dfcd3d11ea5ae2c748f509c (diff) | |
download | tk-964d4bd9ede0f357d352461903f4bbaef72b803c.zip tk-964d4bd9ede0f357d352461903f4bbaef72b803c.tar.gz tk-964d4bd9ede0f357d352461903f4bbaef72b803c.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages (for Tk)
Diffstat (limited to 'tests/button.test')
-rw-r--r-- | tests/button.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/button.test b/tests/button.test index 4bc0929..bfa621c 100644 --- a/tests/button.test +++ b/tests/button.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: button.test,v 1.22 2008/07/22 13:17:26 aniap Exp $ +# RCS: @(#) $Id: button.test,v 1.23 2008/07/23 23:24:25 nijtmans Exp $ package require tcltest 2.2 namespace import ::tcltest::* @@ -2673,7 +2673,7 @@ test button-1.270 {configuration options} -body { # ex-tests 3.* test button-2.1 {ButtonCreate - not enough arguments} -body { button -} -returnCodes {error} -result {wrong # args: should be "button pathName ?options?"} +} -returnCodes {error} -result {wrong # args: should be "button pathName ?-option value ...?"} test button-2.2 {ButtonCreate procedure - setting label class} -body { label .x @@ -2758,7 +2758,7 @@ test button-3.1 {ButtonWidgetCmd - too few arguments} -body { .b } -cleanup { destroy .b -} -returnCodes {error} -result {wrong # args: should be ".b option ?arg arg ...?"} +} -returnCodes {error} -result {wrong # args: should be ".b option ?arg ...?"} test button-3.2 {ButtonWidgetCmd - bad option name} -body { button .b .b c |