diff options
author | dgp <dgp@users.sourceforge.net> | 2008-10-14 18:49:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-10-14 18:49:47 (GMT) |
commit | caf6b557c548d9156937bcb092d6107a66f4c3de (patch) | |
tree | 56db2320dbc8c4f665599ce641db5ff80829d0a1 /tests/appendComp.test | |
parent | 59cc2edf669e2269457e9750eb1f0e18aa34a503 (diff) | |
download | tcl-caf6b557c548d9156937bcb092d6107a66f4c3de.zip tcl-caf6b557c548d9156937bcb092d6107a66f4c3de.tar.gz tcl-caf6b557c548d9156937bcb092d6107a66f4c3de.tar.bz2 |
Fix test flaws exposed by -singleproc 1 -debug 1
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 |