From e5a18035ecf52ade66229700d86a7c2f98253559 Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 21 Jan 2000 03:26:04 +0000 Subject: added catch {unset t} for atomic test --- tests/var.test | 15 ++------------- 1 file 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 - - - - - - - - - - - - -- cgit v0.12