summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-06-26 01:11:09 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-06-26 01:11:09 (GMT)
commit0ef044b56636a84837c28425071f2b10d5f39fee (patch)
tree4e87e77c6468f9884e7456f5fbe8840f5d0b7926
parente7ec17405ab6e423e6b43e3e5ca34c69c7777d26 (diff)
downloadtcl-0ef044b56636a84837c28425071f2b10d5f39fee.zip
tcl-0ef044b56636a84837c28425071f2b10d5f39fee.tar.gz
tcl-0ef044b56636a84837c28425071f2b10d5f39fee.tar.bz2
Excised a tiny amount of the most pointless voodoo. Left
most of it in there.
-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 {