diff options
author | dgp <dgp@users.sourceforge.net> | 2009-10-29 17:21:48 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-10-29 17:21:48 (GMT) |
commit | 4c88e5710e2844b84cd5893e41bc3d369c37d65c (patch) | |
tree | 869c8c9633df43ae1f9ecb430490394374cd5df5 /tests/proc.test | |
parent | e06f616f4b1db4e440fd0883a4987547208d8dd9 (diff) | |
download | tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.zip tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.tar.gz tcl-4c88e5710e2844b84cd5893e41bc3d369c37d65c.tar.bz2 |
test hygiene for the ::tmp variable
Diffstat (limited to 'tests/proc.test')
-rw-r--r-- | tests/proc.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/proc.test b/tests/proc.test index 6ef6811..789c671 100644 --- a/tests/proc.test +++ b/tests/proc.test @@ -13,7 +13,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: proc.test,v 1.20 2008/08/11 20:40:41 andreas_kupries Exp $ +# RCS: @(#) $Id: proc.test,v 1.21 2009/10/29 17:21:48 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -322,6 +322,7 @@ test proc-4.8 {TclCreateProc, procbody obj, no leak on multiple iterations} -set set leakedBytes [expr {$end - $tmp}] } -cleanup { rename getbytes {} + unset -nocomplain end i tmp leakedBytes } -result 0 test proc-5.1 {Bytecompiling noop; test for correct argument substitution} { |