diff options
author | hobbs <hobbs> | 2000-10-31 00:30:35 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-10-31 00:30:35 (GMT) |
commit | 58a43d42f4c70f0fd4741f184a3a4ba720f570ed (patch) | |
tree | 7853659f9674383f6884a551f2f11852a23384b7 /tests/clock.test | |
parent | 0a27a911fd61065e1b887959b5ddbbed8229f348 (diff) | |
download | tcl-58a43d42f4c70f0fd4741f184a3a4ba720f570ed.zip tcl-58a43d42f4c70f0fd4741f184a3a4ba720f570ed.tar.gz tcl-58a43d42f4c70f0fd4741f184a3a4ba720f570ed.tar.bz2 |
tests/clock.test: corrected clock-2.* test numbering
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 a0a4d6b..ea7325e 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -10,7 +10,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.14 2000/05/18 22:29:56 ericm Exp $ +# RCS: @(#) $Id: clock.test,v 1.15 2000/10/31 00:30:35 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -38,11 +38,11 @@ test clock-2.2 {clock clicks tests} { test clock-2.3 {clock clicks tests} { list [catch {clock clicks foo} msg] $msg } {1 {bad switch "foo": must be -milliseconds}} -test clock-2.3 {clock clicks tests} { +test clock-2.4 {clock clicks tests} { expr [clock clicks -milliseconds]+1 concat {} } {} -test clock-2.2 {clock clicks tests, millisecond timing test} { +test clock-2.5 {clock clicks tests, millisecond timing test} { set start [clock clicks -milli] after 10 set end [clock clicks -milli] |