summaryrefslogtreecommitdiffstats
path: root/tests/parse.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/parse.test
parent1674055d7a5077032b0ae8c68af6e7593420cdfd (diff)
parent0aaf6122a593480ef13b8a66624a7565c087eb21 (diff)
downloadtcl-ff741e8b29f173130bc6e8919eafa763738bffd0.zip
tcl-ff741e8b29f173130bc6e8919eafa763738bffd0.tar.gz
tcl-ff741e8b29f173130bc6e8919eafa763738bffd0.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/parse.test')
-rw-r--r--tests/parse.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parse.test b/tests/parse.test
index 35e67b4..f5c8f64 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -8,9 +8,9 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {[catch {package require tcltest 2.0.2}]} {
- puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required."
- return
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
+ namespace import -force ::tcltest::*
}
namespace eval ::tcl::test::parse {