diff options
author | hobbs <hobbs@noemail.net> | 2000-01-21 03:26:04 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-01-21 03:26:04 (GMT) |
commit | 2fbc5c9d6042eff1c1d43b055695dabdee98393b (patch) | |
tree | 1519bb69453ae64e017c6d32605507b6421bdcfa /tests | |
parent | 0f708db1a45857b6e83f68b204597530c0f9ee06 (diff) | |
download | tcl-2fbc5c9d6042eff1c1d43b055695dabdee98393b.zip tcl-2fbc5c9d6042eff1c1d43b055695dabdee98393b.tar.gz tcl-2fbc5c9d6042eff1c1d43b055695dabdee98393b.tar.bz2 |
added catch {unset t} for atomic test
FossilOrigin-Name: 44bcbac945e218990f0db40f911f03a0a0024078
Diffstat (limited to 'tests')
-rw-r--r-- | tests/var.test | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/var.test b/tests/var.test index e72014c..d363563 100644 --- a/tests/var.test +++ b/tests/var.test @@ -14,7 +14,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: var.test,v 1.11 2000/01/15 02:52:32 ericm Exp $ +# RCS: @(#) $Id: var.test,v 1.12 2000/01/21 03:26:04 hobbs Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -618,6 +618,7 @@ test var-12.1 {TclFindCompiledLocals, {} array name} { } {0 1 2 2,foo} test var-13.1 {Tcl_UnsetVar2, unset array with trace set on element} { + catch {unset t} proc foo {var ind op} { global t set foo bar @@ -648,15 +649,3 @@ catch {unset aaaaa} # cleanup ::tcltest::cleanupTests return - - - - - - - - - - - - |