diff options
author | nijtmans <nijtmans@noemail.net> | 2008-07-23 23:24:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-07-23 23:24:21 (GMT) |
commit | dfe078ce9d3d6919f553fdc611cf66c98bc035f5 (patch) | |
tree | 44da117febb11bc69d260540340f018933aa8b45 /tests/textWind.test | |
parent | d569f52b5bd1880c64bfeda38b4c8d5791501921 (diff) | |
download | tk-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/textWind.test')
-rw-r--r-- | tests/textWind.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/textWind.test b/tests/textWind.test index b6739c2..a0a0858 100644 --- a/tests/textWind.test +++ b/tests/textWind.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: textWind.test,v 1.22 2006/10/17 10:21:50 patthoyts Exp $ +# RCS: @(#) $Id: textWind.test,v 1.23 2008/07/23 23:24:25 nijtmans Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -108,7 +108,7 @@ frame .f -width 10 -height 6 -bg $color .t window create 1.3 -window .f -padx 1 -pady 2 test textWind-2.1 {TkTextWindowCmd procedure} { list [catch {.t window} msg] $msg -} {1 {wrong # args: should be ".t window option ?arg arg ...?"}} +} {1 {wrong # args: should be ".t window option ?arg ...?"}} test textWind-2.2 {TkTextWindowCmd procedure, "cget" option} { list [catch {.t window cget} msg] $msg } {1 {wrong # args: should be ".t window cget index option"}} @@ -129,7 +129,7 @@ test textWind-2.7 {TkTextWindowCmd procedure, "cget" option} { } {0 2} test textWind-2.8 {TkTextWindowCmd procedure} { list [catch {.t window co} msg] $msg -} {1 {wrong # args: should be ".t window configure index ?option value ...?"}} +} {1 {wrong # args: should be ".t window configure index ?-option value ...?"}} test textWind-2.9 {TkTextWindowCmd procedure} { list [catch {.t window configure gorp} msg] $msg } {1 {bad text index "gorp"}} @@ -167,7 +167,7 @@ test textWind-2.13 {TkTextWindowCmd procedure} { } {{} {-padx {} {} 0 14} {-pady {} {} 0 15}} test textWind-2.14 {TkTextWindowCmd procedure} { list [catch {.t window create} msg] $msg -} {1 {wrong # args: should be ".t window create index ?option value ...?"}} +} {1 {wrong # args: should be ".t window create index ?-option value ...?"}} test textWind-2.15 {TkTextWindowCmd procedure} { list [catch {.t window create gorp} msg] $msg } {1 {bad text index "gorp"}} |