summaryrefslogtreecommitdiffstats
path: root/tests/pack.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2006-04-05 17:51:04 (GMT)
committerdgp@users.sourceforge.net <dgp>2006-04-05 17:51:04 (GMT)
commit173aa63d02c3211123a4a406d8a53ce14693082a (patch)
tree412908d4c61368702fe6e3da8e6d8295ef70c8ad /tests/pack.test
parent7c08cc4d9390cfec6a4fe35bbefd50a2a1aaf4a4 (diff)
downloadtk-173aa63d02c3211123a4a406d8a53ce14693082a.zip
tk-173aa63d02c3211123a4a406d8a53ce14693082a.tar.gz
tk-173aa63d02c3211123a4a406d8a53ce14693082a.tar.bz2
Update test to reflect revised error message
Diffstat (limited to 'tests/pack.test')
-rw-r--r--tests/pack.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pack.test b/tests/pack.test
index 488281a..c53c88f 100644
--- a/tests/pack.test
+++ b/tests/pack.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: pack.test,v 1.10 2002/07/13 20:28:35 dgp Exp $
+# RCS: @(#) $Id: pack.test,v 1.10.2.1 2006/04/05 17:51:04 dgp Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -799,8 +799,8 @@ test pack-12.25 {command options and errors} {
} {1 {extra option "-padx" (option with no value?)}}
test pack-12.26 {command options and errors} {
pack forget .pack.a .pack.b .pack.c .pack.d
- list [catch {pack .pack.a {} 22} msg] $msg
-} {1 {bad option "": must be -after, -anchor, -before, -expand, -fill, -in, -ipadx, -ipady, -padx, -pady, or -side}}
+ list [catch {pack .pack.a ? 22} msg] $msg
+} {1 {bad option "?": must be -after, -anchor, -before, -expand, -fill, -in, -ipadx, -ipady, -padx, -pady, or -side}}
test pack-12.27 {command options and errors} {
pack forget .pack.a .pack.b .pack.c .pack.d
list [catch {pack .pack.a -in .} msg] $msg