summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-06-26 01:11:09 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-06-26 01:11:09 (GMT)
commitfac2d6ac1942d1a0292c1f9f706b3bb5ca1d0538 (patch)
tree4e87e77c6468f9884e7456f5fbe8840f5d0b7926 /library
parent936709dc4927ac41d110698f524e00d8e5bb5247 (diff)
downloadtcl-fac2d6ac1942d1a0292c1f9f706b3bb5ca1d0538.zip
tcl-fac2d6ac1942d1a0292c1f9f706b3bb5ca1d0538.tar.gz
tcl-fac2d6ac1942d1a0292c1f9f706b3bb5ca1d0538.tar.bz2
Excised a tiny amount of the most pointless voodoo. Left
most of it in there.
Diffstat (limited to 'library')
-rw-r--r--library/tcltest/tcltest.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 095a40f..9b93ddb 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.56 2002/06/25 01:13:38 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.57 2002/06/26 01:11:09 dgp Exp $
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
@@ -1782,9 +1782,9 @@ proc tcltest::test {name description args} {
}
foreach item {constraints match setup body cleanup \
result returnCodes output errorOutput} {
- if {[info exists testAttributes([subst -$item])]} {
- set testAttributes([subst -$item]) [uplevel 1 \
- ::concat $testAttributes([subst -$item])]
+ if {[info exists testAttributes(-$item)]} {
+ set testAttributes(-$item) [uplevel 1 \
+ ::concat $testAttributes(-$item)]
}
}
} else {