summaryrefslogtreecommitdiffstats
path: root/tests/winNotify.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/winNotify.test')
-rw-r--r--tests/winNotify.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/winNotify.test b/tests/winNotify.test
index 3e9aa29..3e48dbf 100644
--- a/tests/winNotify.test
+++ b/tests/winNotify.test
@@ -10,7 +10,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::*
}