diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-30 18:58:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-30 18:58:37 (GMT) |
commit | 62d19c65eb9f6745c59fae9ed1117c69335a24ee (patch) | |
tree | 0bf3ad72dc599167e49c1f6917fd1fb260a7749e /tests/tm.test | |
parent | 91a7a404d263838b97b97250353e43c2e0244026 (diff) | |
download | tcl-62d19c65eb9f6745c59fae9ed1117c69335a24ee.zip tcl-62d19c65eb9f6745c59fae9ed1117c69335a24ee.tar.gz tcl-62d19c65eb9f6745c59fae9ed1117c69335a24ee.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 f6c9a68..3f93483 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] |