diff options
author | jenn <jenn@noemail.net> | 1999-06-30 00:17:05 (GMT) |
---|---|---|
committer | jenn <jenn@noemail.net> | 1999-06-30 00:17:05 (GMT) |
commit | cd054c8581db374b5152cc8e975bdc13b9cd1580 (patch) | |
tree | 9e523f5f3b5949c577a635c2c610831b62ab50a7 /tests/expr.test | |
parent | 8ac122d96c344afbcd809e0b2f11f4c8da5cafc6 (diff) | |
download | tcl-cd054c8581db374b5152cc8e975bdc13b9cd1580.zip tcl-cd054c8581db374b5152cc8e975bdc13b9cd1580.tar.gz tcl-cd054c8581db374b5152cc8e975bdc13b9cd1580.tar.bz2 |
Added a check at the end of the test to not unset variables if
they don't exist.
FossilOrigin-Name: bc368c12a444172e0dfe408f21e190e67ef22fcf
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 6 |
1 files changed, 4 insertions, 2 deletions
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 |