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/upvar.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/upvar.test')
-rw-r--r-- | tests/upvar.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/upvar.test b/tests/upvar.test index d774626..9e1b2d9 100644 --- a/tests/upvar.test +++ b/tests/upvar.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: upvar.test,v 1.17 2008/09/26 19:36:51 dgp Exp $ +# RCS: @(#) $Id: upvar.test,v 1.18 2008/10/14 18:49:47 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -548,7 +548,7 @@ test upvar-NS-2.1 {TIP 323} -returnCodes error -body { namespace upvar } -result {wrong # args: should be "namespace upvar ns ?otherVar myVar ...?"} -test upvar-NS-2.1 {TIP 323} -setup { +test upvar-NS-2.2 {TIP 323} -setup { namespace eval test_ns_1 {} } -body { namespace upvar test_ns_1 |