diff options
author | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
commit | 421f74b6e684727db193b1b1fc1e3a9649f86f58 (patch) | |
tree | c042d36466266a5022288e3db7d8d9a7dc6e81be /tests/config.test | |
parent | 9c9a7764a3a00160ff48011547624ecf659a3dc9 (diff) | |
download | tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.zip tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.gz tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'tests/config.test')
-rw-r--r-- | tests/config.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/config.test b/tests/config.test index 2023d9c..cc951fb 100644 --- a/tests/config.test +++ b/tests/config.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: config.test,v 1.4 2004/10/29 15:39:10 dkf Exp $ +# RCS: @(#) $Id: config.test,v 1.5 2008/07/19 22:50:38 nijtmans Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -35,7 +35,7 @@ test pkgconfig-1.3 {query value multiple times} { test pkgconfig-2.0 {error: missing subcommand} { catch {::tcl::pkgconfig} msg set msg -} {wrong # args: should be "::tcl::pkgconfig subcommand ?argument?"} +} {wrong # args: should be "::tcl::pkgconfig subcommand ?arg?"} test pkgconfig-2.1 {error: illegal subcommand} { catch {::tcl::pkgconfig foo} msg set msg @@ -55,7 +55,7 @@ test pkgconfig-2.4 {error: query unknown key} { test pkgconfig-2.5 {error: query with to many arguments} { catch {::tcl::pkgconfig get foo bar} msg set msg -} {wrong # args: should be "::tcl::pkgconfig subcommand ?argument?"} +} {wrong # args: should be "::tcl::pkgconfig subcommand ?arg?"} # cleanup ::tcltest::cleanupTests |