From fac2d6ac1942d1a0292c1f9f706b3bb5ca1d0538 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 26 Jun 2002 01:11:09 +0000 Subject: Excised a tiny amount of the most pointless voodoo. Left most of it in there. --- library/tcltest/tcltest.tcl | 8 ++++---- 1 file 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 { -- cgit v0.12