summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-21 21:25:21 (GMT)
committernijtmans <nijtmans>2008-07-21 21:25:21 (GMT)
commit35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f (patch)
tree1e36dc0aa27335f1696429c74cc680263b1c9a06 /tests/clock.test
parentca32e49e84dd1c4b6f27fac6eb8a747cd699d864 (diff)
downloadtcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.zip
tcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.tar.gz
tcl-35f986c4f26a93c0b5a0f91c81deaea2a1e5f30f.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (follow-up)
Diffstat (limited to 'tests/clock.test')
-rw-r--r--tests/clock.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 3d0f62d..a2c0fda 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.85 2008/06/17 02:16:07 kennykb Exp $
+# RCS: @(#) $Id: clock.test,v 1.86 2008/07/21 21:25:22 nijtmans Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -35454,7 +35454,7 @@ test clock-33.2 {clock clicks tests} {
} {1}
test clock-33.3 {clock clicks tests} {
list [catch {clock clicks foo} msg] $msg
-} {1 {bad option "foo": must be -milliseconds or -microseconds}}
+} {1 {bad switch "foo": must be -milliseconds or -microseconds}}
test clock-33.4 {clock clicks tests} {
expr [clock clicks -milliseconds]+1
concat {}
@@ -35489,10 +35489,10 @@ test clock-33.5a {clock tests, millisecond timing test} {
} {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}}
+} {1 {bad switch "?": 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}}
+} {1 {ambiguous switch "-": must be -milliseconds or -microseconds}}
test clock-33.8 {clock clicks test, microsecond timing test} {
# This test can fail on a system that is so heavily loaded that