summaryrefslogtreecommitdiffstats
path: root/tests/lsetComp.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-16 10:42:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-16 10:42:26 (GMT)
commit15c92b930024bfb2f8a3930761a67ac965384a62 (patch)
treec8c1eda6489bf292a7917aa4bc0d4dfb6296b537 /tests/lsetComp.test
parent03daf47cf082103bf272f99d393f66406627b318 (diff)
downloadtcl-15c92b930024bfb2f8a3930761a67ac965384a62.zip
tcl-15c92b930024bfb2f8a3930761a67ac965384a62.tar.gz
tcl-15c92b930024bfb2f8a3930761a67ac965384a62.tar.bz2
simplify check for ::tcltest namespace in testcases
Diffstat (limited to 'tests/lsetComp.test')
-rw-r--r--tests/lsetComp.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lsetComp.test b/tests/lsetComp.test
index 32bfd5f..c13d23e 100644
--- a/tests/lsetComp.test
+++ b/tests/lsetComp.test
@@ -11,7 +11,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::*
}