From cf0b7b4b4ffafdba7dcd3dbf1f4870902f967721 Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Sat, 3 Jan 2009 04:38:12 +0000 Subject: make test case work, correct date of commit in ChangeLog --- ChangeLog | 2 +- tests/clock.test | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f4899f3..e6c3296 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2009-01-02 Kevin B. Kenny : +2009-01-03 Kevin B. Kenny : * library/clock.tcl (tcl::clock::add): Fixed error message formatting in the case where [clock add] is presented with a bad switch. diff --git a/tests/clock.test b/tests/clock.test index 500cacb..7eb1b25 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: clock.test,v 1.89 2009/01/03 04:26:49 kennykb Exp $ +# RCS: @(#) $Id: clock.test,v 1.90 2009/01/03 04:38:12 kennykb Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -36683,8 +36683,9 @@ test clock-65.1 {clock add, bad option [Bug 2481670]} {*}{ -body { clock add 0 1 year -foo bar } + -match glob -returnCodes error - -result {bad switch "-foo":*} + -result {bad switch "-foo"*} } # cleanup -- cgit v0.12