summaryrefslogtreecommitdiffstats
path: root/tests/process.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/process.test')
-rw-r--r--tests/process.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/process.test b/tests/process.test
index 229d33c..ef23cfb 100644
--- a/tests/process.test
+++ b/tests/process.test
@@ -8,7 +8,7 @@
# 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} {
+if {"::tcltest" ni [namespace children]} {
package require tcltest 2
namespace import -force ::tcltest::*
}