summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-11-01 16:51:21 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-11-01 16:51:21 (GMT)
commit093102b742d7663f2ff225e141e82fa9d2c6a451 (patch)
tree13e23f260e3af6684e41d18186bb0b047c714010 /tests
parent9e6168bb80859033f3f1ba316a8dcad833eddec9 (diff)
downloadtk-093102b742d7663f2ff225e141e82fa9d2c6a451.zip
tk-093102b742d7663f2ff225e141e82fa9d2c6a451.tar.gz
tk-093102b742d7663f2ff225e141e82fa9d2c6a451.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"}}