summaryrefslogtreecommitdiffstats
path: root/tests/result.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-04 16:45:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-04 16:45:51 (GMT)
commitff741e8b29f173130bc6e8919eafa763738bffd0 (patch)
tree091486071eb08cbd4e32fdeffc90313db7f1aa31 /tests/result.test
parent1674055d7a5077032b0ae8c68af6e7593420cdfd (diff)
parent0aaf6122a593480ef13b8a66624a7565c087eb21 (diff)
downloadtcl-ff741e8b29f173130bc6e8919eafa763738bffd0.zip
tcl-ff741e8b29f173130bc6e8919eafa763738bffd0.tar.gz
tcl-ff741e8b29f173130bc6e8919eafa763738bffd0.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/result.test')
-rw-r--r--tests/result.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/result.test b/tests/result.test
index 1eff46e..b4662a0 100644
--- a/tests/result.test
+++ b/tests/result.test
@@ -10,8 +10,10 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-package require tcltest 2
-namespace import ::tcltest::*
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
+ namespace import -force ::tcltest::*
+}
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]