diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-30 19:00:27 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-30 19:00:27 (GMT) |
commit | ddaf86432d2523d3242c670af64654571f36a0d5 (patch) | |
tree | 43a466d8834829d1bb81dc12d20bdc9a442fb6d9 /tests/tm.test | |
parent | f26510438d420ec20e8840063ca9c3cc8989663e (diff) | |
parent | 3ac002a666fce71f19f025288d9e18c0819bb91a (diff) | |
download | tcl-ddaf86432d2523d3242c670af64654571f36a0d5.zip tcl-ddaf86432d2523d3242c670af64654571f36a0d5.tar.gz tcl-ddaf86432d2523d3242c670af64654571f36a0d5.tar.bz2 |
For [package] etc., select modernizations from Patrick Fradin.
Diffstat (limited to 'tests/tm.test')
-rw-r--r-- | tests/tm.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tm.test b/tests/tm.test index 149a65d..1b22f8c 100644 --- a/tests/tm.test +++ b/tests/tm.test @@ -200,7 +200,7 @@ test tm-3.11 {tm: module path management, remove ignores unknown path} -setup { proc genpaths {base} { # Normalizing picks up drive letters on windows [Bug 1053568] set base [file normalize $base] - foreach {major minor} [split [info tclversion] .] break + lassign [split [package present Tcl] .] major minor set results {} set base [file join $base tcl$major] lappend results [file join $base site-tcl] |