summaryrefslogtreecommitdiffstats
path: root/tests/trace.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-05-07 21:15:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-05-07 21:15:43 (GMT)
commit3b3fd58326def069be2ac1b8aab26a9d875aa237 (patch)
treeef4a6196a9098acb617cbec70c0b2a10a0874bbe /tests/trace.test
parentc9ca13a50c7725c87968a8ce5e2053d23b5bd5cf (diff)
downloadtcl-3b3fd58326def069be2ac1b8aab26a9d875aa237.zip
tcl-3b3fd58326def069be2ac1b8aab26a9d875aa237.tar.gz
tcl-3b3fd58326def069be2ac1b8aab26a9d875aa237.tar.bz2
Made error message for [trace info] more consistent with documentation.
Diffstat (limited to 'tests/trace.test')
-rw-r--r--tests/trace.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/trace.test b/tests/trace.test
index 263b402..f757619 100644
--- a/tests/trace.test
+++ b/tests/trace.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: trace.test,v 1.27 2003/03/27 13:19:15 dkf Exp $
+# RCS: @(#) $Id: trace.test,v 1.28 2003/05/07 21:15:44 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -780,7 +780,7 @@ test trace-14.3 "trace command, wrong # args errors" {
} [list 1 "wrong # args: should be \"trace remove type ?arg arg ...?\""]
test trace-14.4 "trace command, wrong # args errors" {
list [catch {trace info} msg] $msg
-} [list 1 "wrong # args: should be \"trace info type ?arg arg ...?\""]
+} [list 1 "wrong # args: should be \"trace info type name\""]
test trace-14.5 {trace command, invalid option} {
list [catch {trace gorp} msg] $msg