summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-04-15 21:06:36 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-04-15 21:06:36 (GMT)
commite9c2be75488623a37e950be08766ed339938da0c (patch)
treef9c3f42368aaa57c23816fde2380b57e98431800 /tests
parent9c4ceb163fd879f11fc0c03f0b20f8b86539f76c (diff)
downloadtcl-e9c2be75488623a37e950be08766ed339938da0c.zip
tcl-e9c2be75488623a37e950be08766ed339938da0c.tar.gz
tcl-e9c2be75488623a37e950be08766ed339938da0c.tar.bz2
Fix minor fault in [clock clicks] error message.
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test5
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} {