diff options
Diffstat (limited to 'tests/env.test')
-rw-r--r-- | tests/env.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/env.test b/tests/env.test index f1e6a39..ce14fed 100644 --- a/tests/env.test +++ b/tests/env.test @@ -11,10 +11,10 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: env.test,v 1.13 2000/04/10 17:18:58 ericm Exp $ +# RCS: @(#) $Id: env.test,v 1.14 2002/06/22 04:19:47 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest + package require tcltest 2 namespace import -force ::tcltest::* } @@ -58,7 +58,7 @@ test env-1.3 {reflection of env by "array names"} { # Some tests require the "exec" command. # Skip them if exec is not defined. -set ::tcltest::testConstraints(execCommandExists) [expr {[info commands exec] != ""}] +::tcltest::testConstraint execCommandExists [expr {[info commands exec] != ""}] set f [open printenv w] puts $f { |