diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2001-03-06 14:45:03 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2001-03-06 14:45:03 (GMT) |
commit | a4956f2cdf0944125654ad232ec0324068487306 (patch) | |
tree | dedb3eaa49c7bac372525a7a2a096a20372917a8 /tests/set-old.test | |
parent | 4b28cf6cdde6e232060c86973947cd9d1246abef (diff) | |
download | tcl-a4956f2cdf0944125654ad232ec0324068487306.zip tcl-a4956f2cdf0944125654ad232ec0324068487306.tar.gz tcl-a4956f2cdf0944125654ad232ec0324068487306.tar.bz2 |
Fixed two faults with [unset -nocomplain]; one with a possible overrun
of the argument array, and another with the documentation.
Diffstat (limited to 'tests/set-old.test')
-rw-r--r-- | tests/set-old.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/set-old.test b/tests/set-old.test index 6a63200..1cf6aba 100644 --- a/tests/set-old.test +++ b/tests/set-old.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: set-old.test,v 1.12 2000/08/21 01:37:51 ericm Exp $ +# RCS: @(#) $Id: set-old.test,v 1.13 2001/03/06 14:45:03 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -204,7 +204,7 @@ test set-old-7.1 {unset command} { } {0 0 0 1} test set-old-7.2 {unset command} { list [catch {unset} msg] $msg -} {1 {wrong # args: should be "unset ?--? ?-nocomplain? ?varName varName ...?"}} +} {1 {wrong # args: should be "unset ?-nocomplain? ?--? ?varName varName ...?"}} test set-old-7.3 {unset command} { catch {unset a} list [catch {unset a} msg] $msg |