summaryrefslogtreecommitdiffstats
path: root/tests/safe-stock86.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/safe-stock86.test')
-rw-r--r--tests/safe-stock86.test6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/safe-stock86.test b/tests/safe-stock86.test
index 337527c..402ea31 100644
--- a/tests/safe-stock86.test
+++ b/tests/safe-stock86.test
@@ -18,10 +18,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
-package require Tcl 8.5-
-
-if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest 2
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
namespace import -force ::tcltest::*
}