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