summaryrefslogtreecommitdiffstats
path: root/tests/misc.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-09-15 18:04:02 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-09-15 18:04:02 (GMT)
commit163d31e623394ea08605580b140ef1a5f14a0573 (patch)
tree30378ff4653a9894ccf072e5a2c622afd288bd0e /tests/misc.test
parente36bada6ec8d9679acbb7b2b73f38d3d643d5dd7 (diff)
parent93124d77a6848e2118547a4f477abd8e26493252 (diff)
downloadtcl-163d31e623394ea08605580b140ef1a5f14a0573.zip
tcl-163d31e623394ea08605580b140ef1a5f14a0573.tar.gz
tcl-163d31e623394ea08605580b140ef1a5f14a0573.tar.bz2
merge 8.7
Diffstat (limited to 'tests/misc.test')
-rw-r--r--tests/misc.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc.test b/tests/misc.test
index db8b14a..8f8516e 100644
--- a/tests/misc.test
+++ b/tests/misc.test
@@ -12,8 +12,8 @@
# 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} {
- package require tcltest
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
namespace import -force ::tcltest::*
}