diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-09 09:39:59 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-09 09:39:59 (GMT) |
| commit | a1fb5545852518890326ddcf62f18e05de2425e3 (patch) | |
| tree | ec1892ea5948180128e96f0ab103b057a97ebc2e | |
| parent | 38555b60a2647d88236a922f72741a3f4611ccd2 (diff) | |
| download | tcl-a1fb5545852518890326ddcf62f18e05de2425e3.zip tcl-a1fb5545852518890326ddcf62f18e05de2425e3.tar.gz tcl-a1fb5545852518890326ddcf62f18e05de2425e3.tar.bz2 | |
Fix tests/tcltest.test testcases (missing "namespace import")
| -rw-r--r-- | tests/tcltest.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tcltest.test b/tests/tcltest.test index 750a20d..075cdf6 100644 --- a/tests/tcltest.test +++ b/tests/tcltest.test @@ -17,9 +17,9 @@ # interfere with the [test] doing the testing. # -if {[catch {package require tcltest 2.1}]} { - puts stderr "Skipping tests in [info script]. tcltest 2.1 required." - return +if {"::tcltest" ni [namespace children]} { + package require tcltest 2.1 + namespace import -force ::tcltest::* } # File permissions broken on wsl without some "exotic" wsl configuration |
