diff options
author | dgp <dgp@noemail.net> | 2006-04-05 15:17:36 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2006-04-05 15:17:36 (GMT) |
commit | 24dd028101dbcfd10bd36618c8bfbfa08cfdeb8e (patch) | |
tree | 4f7d720b80a5b9e2bf3554c2d14d3981fe3e8b5a /tests/clock.test | |
parent | b9641a6d3f5cd8e9bd7a5dfebd1a8329d7567629 (diff) | |
download | tcl-24dd028101dbcfd10bd36618c8bfbfa08cfdeb8e.zip tcl-24dd028101dbcfd10bd36618c8bfbfa08cfdeb8e.tar.gz tcl-24dd028101dbcfd10bd36618c8bfbfa08cfdeb8e.tar.bz2 |
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
FossilOrigin-Name: d86bf5b78aa65c9872581801e88e38a284b56cc6
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/clock.test b/tests/clock.test index d6c44ab..50892b6 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.61 2006/03/21 11:12:28 dkf Exp $ +# RCS: @(#) $Id: clock.test,v 1.62 2006/04/05 15:17:39 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -34907,8 +34907,8 @@ test clock-33.5a {clock tests, millisecond timing test} { "test should have taken 0-60 ms, actually took [expr $end - $start]"} } {ok} test clock-33.6 {clock clicks, milli with too much abbreviation} { - list [catch { clock clicks {} } msg] $msg -} {1 {bad option "": must be -milliseconds or -microseconds}} + list [catch { clock clicks ? } msg] $msg +} {1 {bad option "?": must be -milliseconds or -microseconds}} test clock-33.7 {clock clicks, milli with too much abbreviation} { list [catch { clock clicks - } msg] $msg } {1 {ambiguous option "-": must be -milliseconds or -microseconds}} |