diff options
author | dgp <dgp@noemail.net> | 2008-02-13 20:35:02 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-02-13 20:35:02 (GMT) |
commit | 8f4bdd19ef3e12376b8ded453de4e17fcffbffa8 (patch) | |
tree | eee83a35bd53de7f2190cbfa98929dc3398a1921 | |
parent | b7a78289ece8caf5f1392ff7b499d818b5ead686 (diff) | |
download | tcl-8f4bdd19ef3e12376b8ded453de4e17fcffbffa8.zip tcl-8f4bdd19ef3e12376b8ded453de4e17fcffbffa8.tar.gz tcl-8f4bdd19ef3e12376b8ded453de4e17fcffbffa8.tar.bz2 |
add missing constraint
FossilOrigin-Name: c85e6e712eed3d57a3f039fd38dfb038ef7a24e1
-rw-r--r-- | tests/set.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/set.test b/tests/set.test index 3ae0ce5..76eab79 100644 --- a/tests/set.test +++ b/tests/set.test @@ -10,13 +10,15 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: set.test,v 1.14 2007/12/13 15:26:07 dgp Exp $ +# RCS: @(#) $Id: set.test,v 1.15 2008/02/13 20:35:03 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 namespace import -force ::tcltest::* } +testConstraint testset2 [llength [info commands testset2]] + catch {unset x} catch {unset i} @@ -514,7 +516,7 @@ test set-4.6 {set command: runtime error, basic array operations} { list [catch {$z a} msg] $msg } {1 {can't read "a": variable is array}} -test set-5.1 {error on malformed array name} { +test set-5.1 {error on malformed array name} testset2 { unset -nocomplain z catch {testset2 z(a) b} msg catch {testset2 z(b) a} msg1 |