diff options
author | hobbs <hobbs> | 2000-01-21 03:26:04 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-01-21 03:26:04 (GMT) |
commit | e5a18035ecf52ade66229700d86a7c2f98253559 (patch) | |
tree | 1519bb69453ae64e017c6d32605507b6421bdcfa /tests/var.test | |
parent | 63cd0157ba15709297eab95aa9e71164f963a4b0 (diff) | |
download | tcl-e5a18035ecf52ade66229700d86a7c2f98253559.zip tcl-e5a18035ecf52ade66229700d86a7c2f98253559.tar.gz tcl-e5a18035ecf52ade66229700d86a7c2f98253559.tar.bz2 |
added catch {unset t} for atomic test
Diffstat (limited to 'tests/var.test')
-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 - - - - - - - - - - - - |