diff options
author | dgp@users.sourceforge.net <dgp> | 2006-04-05 18:04:39 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2006-04-05 18:04:39 (GMT) |
commit | 8b0d7680568526b02b30b905e6adee8265feaaf3 (patch) | |
tree | 418d74578ffb99e2ebd8171abec8d90466a55fd9 /tests | |
parent | 309040a56b6e4f4ab4c2dd5ea95372be28951a97 (diff) | |
download | tk-8b0d7680568526b02b30b905e6adee8265feaaf3.zip tk-8b0d7680568526b02b30b905e6adee8265feaaf3.tar.gz tk-8b0d7680568526b02b30b905e6adee8265feaaf3.tar.bz2 |
Revised test to account for changed error message
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pack.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pack.test b/tests/pack.test index 2ca2e13..27fd01f 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.13 2004/12/04 00:04:41 dkf Exp $ +# RCS: @(#) $Id: pack.test,v 1.14 2006/04/05 18:04:39 dgp Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -802,8 +802,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 |