diff options
author | dgp <dgp@users.sourceforge.net> | 2017-10-30 03:23:28 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-10-30 03:23:28 (GMT) |
commit | c5865fcd241e9a0eec80a61152b696d9d066944b (patch) | |
tree | 0abc961979d5b5373feb1fe8b1a49c32a4514f20 /tests/platform.test | |
parent | 1d0751deb7fafb3e276e1ba022ef023e795946fb (diff) | |
download | tcl-c5865fcd241e9a0eec80a61152b696d9d066944b.zip tcl-c5865fcd241e9a0eec80a61152b696d9d066944b.tar.gz tcl-c5865fcd241e9a0eec80a61152b696d9d066944b.tar.bz2 |
More test rewrites for robust var resolution.
Diffstat (limited to 'tests/platform.test')
-rw-r--r-- | tests/platform.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/platform.test b/tests/platform.test index c826444..8ee0ec7 100644 --- a/tests/platform.test +++ b/tests/platform.test @@ -16,7 +16,9 @@ namespace eval ::tcl::test::platform { namespace import ::tcltest::test namespace import ::tcltest::cleanupTests - variable ::tcl_platform + # This is not how [variable] works. See TIP 276. + #variable ::tcl_platform + namespace upvar :: tcl_platform tcl_platform ::tcltest::loadTestedCommands catch [list package require -exact Tcltest [info patchlevel]] |