diff options
author | kennykb <kennykb@noemail.net> | 2009-01-03 04:38:11 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2009-01-03 04:38:11 (GMT) |
commit | cde00e45fb4162401a2016fb0cd3110751d3f384 (patch) | |
tree | 8e55c157b0f5646a17d77b396b9f94b34e9a9b9b | |
parent | 6bf0b1556cb24271a0c4e4f52476c70660f69638 (diff) | |
download | tcl-cde00e45fb4162401a2016fb0cd3110751d3f384.zip tcl-cde00e45fb4162401a2016fb0cd3110751d3f384.tar.gz tcl-cde00e45fb4162401a2016fb0cd3110751d3f384.tar.bz2 |
make test case work, correct date of commit in ChangeLog
FossilOrigin-Name: a6720f400dc8d3eaca000a078629e0ab0ba748f2
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | tests/clock.test | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ -2009-01-02 Kevin B. Kenny <kennykb@acm.org>: +2009-01-03 Kevin B. Kenny <kennykb@acm.org>: * 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 |