summaryrefslogtreecommitdiffstats
path: root/tests/button.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-12-07 21:22:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-12-07 21:22:19 (GMT)
commit4180597529a6eee5a39a5cd58cc6275e2dd232f3 (patch)
tree87ac100a5d0e0831f6d5c2f50e6ce0152414d675 /tests/button.test
parent544ebaae8d1a343421ff52251241f88af3e46ff8 (diff)
downloadtk-4180597529a6eee5a39a5cd58cc6275e2dd232f3.zip
tk-4180597529a6eee5a39a5cd58cc6275e2dd232f3.tar.gz
tk-4180597529a6eee5a39a5cd58cc6275e2dd232f3.tar.bz2
typos
Diffstat (limited to 'tests/button.test')
-rw-r--r--tests/button.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/button.test b/tests/button.test
index d3f93d8..9d13ce4 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.19 2004/12/07 10:07:41 dkf Exp $
+# RCS: @(#) $Id: button.test,v 1.20 2004/12/07 21:22:19 dgp Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -115,14 +115,14 @@ foreach test {
set classname [winfo class $w]
if {$hasOption} {
test button-1.$i "configuration option $name for $classname" \
- -constraint testImageType -body "
+ -constraints testImageType -body "
$w configure $name [list $value]
lindex \[$w configure $name] 4
" -result $okResult
incr i
if {$badValue ne ""} {
test button-1.$i "configuration option $name for $classname" \
- -constraint testImageType \
+ -constraints testImageType \
-body [list $w configure $name $badValue] \
-returnCodes error -result $badResult
incr i
@@ -130,7 +130,7 @@ foreach test {
$w configure $name [lindex [$w configure $name] 3]
} else {
test button-1.$i "configuration option $name for $classname" \
- -constraint testImageType \
+ -constraints testImageType \
-body [list $w configure $name $value] \
-returnCodes error -result "unknown option \"$name\""
incr i