summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-07-21 21:25:20 (GMT)
committernijtmans <nijtmans@noemail.net>2008-07-21 21:25:20 (GMT)
commit5ca4fc1d842c291d897e911232a145764b44cbe2 (patch)
tree1e36dc0aa27335f1696429c74cc680263b1c9a06 /tests/clock.test
parent75137d639fbd81065b6239a20d8640ae4d07e306 (diff)
downloadtcl-5ca4fc1d842c291d897e911232a145764b44cbe2.zip
tcl-5ca4fc1d842c291d897e911232a145764b44cbe2.tar.gz
tcl-5ca4fc1d842c291d897e911232a145764b44cbe2.tar.bz2
fix [2021443] inconsistant "wrong # args" messages (follow-up)
FossilOrigin-Name: 395eaa2623b2540e0cb48daab4369053acb0f8d0
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