diff options
| author | dgp@users.sourceforge.net <dgp> | 2013-01-30 17:15:06 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2013-01-30 17:15:06 (GMT) |
| commit | 3019444ec7669c462e847fbaa759d8f0923cd199 (patch) | |
| tree | 42ea5e1d3c771bea0ecd7cd3a74112208b92a968 /library | |
| parent | 609ce7e13764ac61ac6644c2a15a13630349dfa5 (diff) | |
| download | tcl-3019444ec7669c462e847fbaa759d8f0923cd199.zip tcl-3019444ec7669c462e847fbaa759d8f0923cd199.tar.gz tcl-3019444ec7669c462e847fbaa759d8f0923cd199.tar.bz2 | |
More improvements found browsing tcltest.
Diffstat (limited to 'library')
| -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]] } |
