summaryrefslogtreecommitdiffstats
path: root/tests/safe.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-16 10:48:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-16 10:48:36 (GMT)
commitdc175e403d5ce3e7986a9760b8850a93af6875e1 (patch)
treecf2ca637c33bc77caa3ff2a9049903755fdafdab /tests/safe.test
parent15c92b930024bfb2f8a3930761a67ac965384a62 (diff)
downloadtcl-dc175e403d5ce3e7986a9760b8850a93af6875e1.zip
tcl-dc175e403d5ce3e7986a9760b8850a93af6875e1.tar.gz
tcl-dc175e403d5ce3e7986a9760b8850a93af6875e1.tar.bz2
More of the same (see previous commit)
Diffstat (limited to 'tests/safe.test')
-rw-r--r--tests/safe.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/safe.test b/tests/safe.test
index 356e176..79aa9ab 100644
--- a/tests/safe.test
+++ b/tests/safe.test
@@ -12,7 +12,7 @@
package require Tcl 8.5-
-if {[lsearch [namespace children] ::tcltest] == -1} {
+if {"::tcltest" ni [namespace children]} {
package require tcltest 2
namespace import -force ::tcltest::*
}