diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2004-09-30 10:35:06 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2004-09-30 10:35:06 (GMT) |
commit | dd9bf5efaf27ae22d4c80c1e55bf79c422fb061c (patch) | |
tree | c2b5a50bbefe539e4ef7d705e391e3e0b86ffd8b | |
parent | db28fb893dc50fd54f948ec4bf06c296cb4165f2 (diff) | |
download | tcl-dd9bf5efaf27ae22d4c80c1e55bf79c422fb061c.zip tcl-dd9bf5efaf27ae22d4c80c1e55bf79c422fb061c.tar.gz tcl-dd9bf5efaf27ae22d4c80c1e55bf79c422fb061c.tar.bz2 |
* tests/subst.test (12.2): test correction.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tests/subst.test | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2004-09-30 Miguel Sofer <msofer@users.sf.net> + + * tests/subst.test (12.2): test correction. + 2004-09-29 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (Tcl_EvalEx): diff --git a/tests/subst.test b/tests/subst.test index 2cab058..8ba5ec9 100644 --- a/tests/subst.test +++ b/tests/subst.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: subst.test,v 1.13.2.3 2004/09/29 19:36:37 msofer Exp $ +# RCS: @(#) $Id: subst.test,v 1.13.2.4 2004/09/30 10:35:07 msofer Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -229,7 +229,7 @@ test subst-12.1 {nasty case, Bug 1036649} { } {1 {missing close-bracket}} test subst-12.2 {nasty case, Bug 1036649} { for {set i 0} {$i < 10} {incr i} { - list [catch {subst "\[subst {}; "} msg] $msg + set res [list [catch {subst "\[subst {}; "} msg] $msg] if {$msg ne "missing close-bracket"} break } set res |