diff options
author | nijtmans <nijtmans> | 2008-07-13 23:15:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-13 23:15:21 (GMT) |
commit | ad35d9b5b7a3de682d371c0bb686815f1c5e849e (patch) | |
tree | aacaf7cde84808f89893f7542a9a079c3e8603b1 /tests/indexObj.test | |
parent | 28f4419947aa4b448501687014bb415dc7096511 (diff) | |
download | tcl-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/indexObj.test')
-rw-r--r-- | tests/indexObj.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/indexObj.test b/tests/indexObj.test index 4c1ef49..b5a3304 100644 --- a/tests/indexObj.test +++ b/tests/indexObj.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: indexObj.test,v 1.15 2006/04/06 18:57:58 dgp Exp $ +# RCS: @(#) $Id: indexObj.test,v 1.16 2008/07/13 23:15:22 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -88,8 +88,8 @@ test indexObj-4.1 {free old internal representation} testindexobj { } {2} test indexObj-5.1 {Tcl_WrongNumArgs} testindexobj { - testwrongnumargs 1 "?option?" mycmd -} "wrong # args: should be \"mycmd ?option?\"" + testwrongnumargs 1 "?-option?" mycmd +} "wrong # args: should be \"mycmd ?-option?\"" test indexObj-5.2 {Tcl_WrongNumArgs} testindexobj { testwrongnumargs 2 "bar" mycmd foo } "wrong # args: should be \"mycmd foo bar\"" |