summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-11-01 16:51:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-11-01 16:51:21 (GMT)
commit72f5470bd8e9dd6bb4a35f0830769eafb230dc9b (patch)
tree13e23f260e3af6684e41d18186bb0b047c714010 /tests
parentd71f8610d6bfae2495ad9fdcdb996139b53771f5 (diff)
downloadtk-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.
Diffstat (limited to 'tests')
-rw-r--r--tests/dialog.test6
1 files changed, 3 insertions, 3 deletions
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"}}