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/ioCmd.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/ioCmd.test')
-rw-r--r-- | tests/ioCmd.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ioCmd.test b/tests/ioCmd.test index 06116d3..47c8daa 100644 --- a/tests/ioCmd.test +++ b/tests/ioCmd.test @@ -13,7 +13,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: ioCmd.test,v 1.43 2008/06/06 19:46:38 andreas_kupries Exp $ +# RCS: @(#) $Id: ioCmd.test,v 1.44 2008/07/13 23:15:21 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -192,10 +192,10 @@ test iocmd-7.3 {close command} { test iocmd-8.1 {fconfigure command} { list [catch {fconfigure} msg] $msg -} {1 {wrong # args: should be "fconfigure channelId ?optionName? ?value? ?optionName value?..."}} +} {1 {wrong # args: should be "fconfigure channelId ?-option value ...?"}} test iocmd-8.2 {fconfigure command} { list [catch {fconfigure a b c d e f} msg] $msg -} {1 {wrong # args: should be "fconfigure channelId ?optionName? ?value? ?optionName value?..."}} +} {1 {wrong # args: should be "fconfigure channelId ?-option value ...?"}} test iocmd-8.3 {fconfigure command} { list [catch {fconfigure a b} msg] $msg } {1 {can not find channel named "a"}} |