diff options
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expr.test b/tests/expr.test index dad8677..ac99801 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -10,8 +10,8 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest 2.1 +if {"::tcltest" ni [namespace children]} { + package require tcltest 2.1 namespace import -force ::tcltest::* } |