diff options
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/clock.test b/tests/clock.test index 08818d7..ea7310e 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.24 2004/03/10 16:01:26 kennykb Exp $ +# RCS: @(#) $Id: clock.test,v 1.25 2004/04/15 21:06:39 dkf Exp $ set env(LC_TIME) POSIX @@ -98,6 +98,9 @@ test clock-2.11 {clock clicks test, millis align with micros} { expr { $t2 / 1000 == $t3 } } {1} +test clock-2.12 {clock clicks test, wrong num args} { + list [catch {clock clicks foo bar} msg] $msg +} {1 {wrong # args: should be "clock clicks ?option?"}} # clock format test clock-3.1 {clock format tests} {unixOnly} { |