summaryrefslogtreecommitdiffstats
path: root/tests/lrepeat.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lrepeat.test')
-rw-r--r--tests/lrepeat.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lrepeat.test b/tests/lrepeat.test
index e89f1b7..9ca5ba8 100644
--- a/tests/lrepeat.test
+++ b/tests/lrepeat.test
@@ -9,7 +9,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 2
namespace import -force ::tcltest::*
}