diff options
Diffstat (limited to 'tests/appendComp.test')
-rw-r--r-- | tests/appendComp.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/appendComp.test b/tests/appendComp.test index e912186..90b2af5 100644 --- a/tests/appendComp.test +++ b/tests/appendComp.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: appendComp.test,v 1.11 2008/09/08 10:49:04 dkf Exp $ +# RCS: @(#) $Id: appendComp.test,v 1.12 2008/10/14 18:49:47 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -270,7 +270,8 @@ test appendComp-7.2 {lappend var triggers read trace, index var} -setup { bar } -result {myvar {} r} test appendComp-7.3 {lappend var triggers read trace, stack var} -setup { - catch {unset ::result} + unset -nocomplain ::result + unset -nocomplain ::myvar } -body { proc bar {} { trace variable ::myvar r foo |