summaryrefslogtreecommitdiffstats
path: root/tests/cmdIL.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
committernijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
commitad35d9b5b7a3de682d371c0bb686815f1c5e849e (patch)
treeaacaf7cde84808f89893f7542a9a079c3e8603b1 /tests/cmdIL.test
parent28f4419947aa4b448501687014bb415dc7096511 (diff)
downloadtcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.zip
tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.gz
tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.bz2
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...?
Diffstat (limited to 'tests/cmdIL.test')
-rw-r--r--tests/cmdIL.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cmdIL.test b/tests/cmdIL.test
index 1f2cf73..cc1546e 100644
--- a/tests/cmdIL.test
+++ b/tests/cmdIL.test
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: cmdIL.test,v 1.38 2008/02/13 19:41:20 dgp Exp $
+# RCS: @(#) $Id: cmdIL.test,v 1.39 2008/07/13 23:15:21 nijtmans Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -20,7 +20,7 @@ testConstraint memory [llength [info commands memory]]
test cmdIL-1.1 {Tcl_LsortObjCmd procedure} {
list [catch {lsort} msg] $msg
-} {1 {wrong # args: should be "lsort ?options? list"}}
+} {1 {wrong # args: should be "lsort ?-option value ...? list"}}
test cmdIL-1.2 {Tcl_LsortObjCmd procedure} {
list [catch {lsort -foo {1 3 2 5}} msg] $msg
} {1 {bad option "-foo": must be -ascii, -command, -decreasing, -dictionary, -increasing, -index, -indices, -integer, -nocase, -real, or -unique}}