summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-30 17:22:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-30 17:22:49 (GMT)
commita528a204f2cedc505d1d28610ecf975740f12fcd (patch)
tree34ebcd4a495e1080233f2067b015de7e37f75fce /library
parent125d2d9436143ba4be3c8022c075f740daf74d89 (diff)
parent46d5769e5f4e9edd66b356958496b14cb9265f4e (diff)
downloadtcl-a528a204f2cedc505d1d28610ecf975740f12fcd.zip
tcl-a528a204f2cedc505d1d28610ecf975740f12fcd.tar.gz
tcl-a528a204f2cedc505d1d28610ecf975740f12fcd.tar.bz2
More improvements found browsing tcltest
Diffstat (limited to 'library')
-rw-r--r--library/tcltest/tcltest.tcl12
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]]
}