summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.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/stringObj.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/stringObj.test')
-rw-r--r--tests/stringObj.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stringObj.test b/tests/stringObj.test
index 3779bca..85aff72 100644
--- a/tests/stringObj.test
+++ b/tests/stringObj.test
@@ -12,7 +12,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
namespace import -force ::tcltest::*
}