diff options
-rw-r--r-- | tests/compExpr-old.test | 6 | ||||
-rw-r--r-- | tests/expr.test | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tests/compExpr-old.test b/tests/compExpr-old.test index 6188c17..decf320 100644 --- a/tests/compExpr-old.test +++ b/tests/compExpr-old.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: compExpr-old.test,v 1.3 1999/06/26 03:54:11 jenn Exp $ +# RCS: @(#) $Id: compExpr-old.test,v 1.4 1999/06/30 00:17:07 jenn Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -671,7 +671,9 @@ test expr-19.1 {expr and interpreter result object resetting} { } 3 # cleanup -unset a +if {[info exists a]} { + unset a +} ::tcltest::cleanupTests return diff --git a/tests/expr.test b/tests/expr.test index 4a62a30..17a4222 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: expr.test,v 1.4 1999/06/26 03:54:13 jenn Exp $ +# RCS: @(#) $Id: expr.test,v 1.5 1999/06/30 00:17:06 jenn Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -705,6 +705,8 @@ test expr-20.3 {broken substitution of integer digits} { } {4096 1000} # cleanup -unset a +if {[info exists a]} { + unset a +} ::tcltest::cleanupTests return |