diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-30 17:22:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-30 17:22:49 (GMT) |
commit | 7a00fde1d296ae2f00316732b3df7d35e7ffed41 (patch) | |
tree | 34ebcd4a495e1080233f2067b015de7e37f75fce | |
parent | 4e523443fe44f2bfd7dcf380bae0dfb22a40b14d (diff) | |
parent | 1f7f9de6851bbf13e8435d152784c17481753e26 (diff) | |
download | tcl-7a00fde1d296ae2f00316732b3df7d35e7ffed41.zip tcl-7a00fde1d296ae2f00316732b3df7d35e7ffed41.tar.gz tcl-7a00fde1d296ae2f00316732b3df7d35e7ffed41.tar.bz2 |
More improvements found browsing tcltest
-rw-r--r-- | library/tcltest/tcltest.tcl | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index 1fd6f47..d6e6487 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -986,13 +986,7 @@ proc tcltest::interpreter { {interp ""} } { if {[llength [info level 0]] == 1} { return $tcltest } - -if {$interp eq {}} { -set tcltest {} -} else { -set tcltest $interp -} -# set tcltest $interp + set tcltest $interp } ##################################################################### @@ -2874,10 +2868,6 @@ proc tcltest::runAllTests { {shell ""} } { # none. proc tcltest::loadTestedCommands {} { -variable l -if {[loadScript] eq {}} { -return -} return [uplevel 1 [loadScript]] } |