diff options
author | dgp <dgp@users.sourceforge.net> | 2004-11-01 16:51:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-11-01 16:51:21 (GMT) |
commit | 72f5470bd8e9dd6bb4a35f0830769eafb230dc9b (patch) | |
tree | 13e23f260e3af6684e41d18186bb0b047c714010 | |
parent | d71f8610d6bfae2495ad9fdcdb996139b53771f5 (diff) | |
download | tk-72f5470bd8e9dd6bb4a35f0830769eafb230dc9b.zip tk-72f5470bd8e9dd6bb4a35f0830769eafb230dc9b.tar.gz tk-72f5470bd8e9dd6bb4a35f0830769eafb230dc9b.tar.bz2 |
* dialog.test (dialog-1.1): Update expected result to changes
in the error messages produced by procs.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/dialog.test | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2004-11-01 Don Porter <dgp@users.sourceforge.net> + + * dialog.test (dialog-1.1): Update expected result to changes + in the error messages produced by procs. + 2004-10-29 Mo DeJong <mdejong@users.sourceforge.net> * tests/wm.test: Add Win32 test cases for attributes diff --git a/tests/dialog.test b/tests/dialog.test index 45e00f8..519ca4f 100644 --- a/tests/dialog.test +++ b/tests/dialog.test @@ -1,16 +1,16 @@ # This file is a Tcl script to test out Tk's "tk_dialog" command. # It is organized in the standard fashion for Tcl tests. # -# RCS: @(#) $Id: dialog.test,v 1.4 2003/04/01 21:06:22 dgp Exp $ +# RCS: @(#) $Id: dialog.test,v 1.5 2004/11/01 16:51:21 dgp Exp $ # package require tcltest 2.1 eval tcltest::configure $argv tcltest::loadTestedCommands -test dialog-1.1 {tk_dialog command} { +test dialog-1.1 {tk_dialog command} -body { list [catch {tk_dialog} msg] $msg -} {1 {wrong # args: should be "tk_dialog w title text bitmap default args"}} +} -match glob -result {1 {wrong # args: should be "tk_dialog w title text bitmap default *"}} test dialog-1.2 {tk_dialog command} { list [catch {tk_dialog foo foo foo foo foo} msg] $msg } {1 {bad window path name "foo"}} |