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