diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-06-22 14:41:33 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-07-04 10:08:32 +1000 |
commit | 9609293b28c93a15f7a04e7aed6eff469b55ab29 (patch) | |
tree | f146e2cacb08ea4210ef4264c5d53ec5ecb6cafe /tests | |
parent | 659af10a82abaf9034d2d852301021b540ad863a (diff) | |
download | jimtcl-9609293b28c93a15f7a04e7aed6eff469b55ab29.zip jimtcl-9609293b28c93a15f7a04e7aed6eff469b55ab29.tar.gz jimtcl-9609293b28c93a15f7a04e7aed6eff469b55ab29.tar.bz2 |
dict: convert to use subcmd
This means we get -commands and usage via -help
And update dict2.test for minor difference in usage
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dict2.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dict2.test b/tests/dict2.test index f246a97..94ba605 100644 --- a/tests/dict2.test +++ b/tests/dict2.test @@ -24,7 +24,7 @@ proc dict-sort {dict} { test dict-1.1 {dict command basic syntax} -returnCodes error -body { dict -} -match glob -result {wrong # args: should be "dict subcommand ?arg* ...?"} +} -match glob -result {wrong # args: should be "dict command ..."*} test dict-1.2 {dict command basic syntax} -returnCodes error -body { dict ? } -match glob -result * |