summaryrefslogtreecommitdiffstats
path: root/tests/misc.test
diff options
context:
space:
mode:
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 6ddc718..ca299e1 100644
--- a/tests/misc.test
+++ b/tests/misc.test
@@ -12,7 +12,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::*
}
@@ -69,7 +69,7 @@ missing close-brace for variable name
invoked from within
"tstProc"}]
-for {set i 1} {$i<300} {incr i} {
+for {set i 1} {$i < 300} {incr i} {
test misc-2.$i {hash table with sys-alloc} testhashsystemhash \
"testhashsystemhash $i" OK
}