From 72f5470bd8e9dd6bb4a35f0830769eafb230dc9b Mon Sep 17 00:00:00 2001 From: dgp Date: Mon, 1 Nov 2004 16:51:21 +0000 Subject: * dialog.test (dialog-1.1): Update expected result to changes in the error messages produced by procs. --- ChangeLog | 5 +++++ tests/dialog.test | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f435a83..078358f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-01 Don Porter + + * dialog.test (dialog-1.1): Update expected result to changes + in the error messages produced by procs. + 2004-10-29 Mo DeJong * 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"}} -- cgit v0.12