summaryrefslogtreecommitdiffstats
path: root/tests/util.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-21 07:54:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-21 07:54:20 (GMT)
commitf9c196e0e6adbda2599846b1c4ebef570164d745 (patch)
tree6dde502c97dac0302134b2e4c0ed785017a384ac /tests/util.test
parenta13bb8b0ca65832a5ec1d64055a09f3dec4af876 (diff)
parentd08036b2e47607ee20e265e02bb8195fad62d300 (diff)
downloadtcl-f9c196e0e6adbda2599846b1c4ebef570164d745.zip
tcl-f9c196e0e6adbda2599846b1c4ebef570164d745.tar.gz
tcl-f9c196e0e6adbda2599846b1c4ebef570164d745.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/util.test')
-rw-r--r--tests/util.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util.test b/tests/util.test
index 6a91a69..a83ebf7 100644
--- a/tests/util.test
+++ b/tests/util.test
@@ -7,7 +7,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::*
}