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/textWind.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/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"}} |