summaryrefslogtreecommitdiffstats
path: root/tests/foreach.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-09-19 18:17:54 (GMT)
committerhobbs <hobbs>2001-09-19 18:17:54 (GMT)
commit93f8aa9a4503e99c92cc046261e09d99e638c188 (patch)
treebd67a555349bc2a086720174d0243daff86a7c77 /tests/foreach.test
parenteaecbc2b998c46334ae14212a09eadfce713b4ab (diff)
downloadtcl-93f8aa9a4503e99c92cc046261e09d99e638c188.zip
tcl-93f8aa9a4503e99c92cc046261e09d99e638c188.tar.gz
tcl-93f8aa9a4503e99c92cc046261e09d99e638c188.tar.bz2
* generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string. * tests/{for.test,foreach.test,if.test,while.test}: * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd, TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
Diffstat (limited to 'tests/foreach.test')
-rw-r--r--tests/foreach.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/foreach.test b/tests/foreach.test
index d753fe5..fa5b3ea 100644
--- a/tests/foreach.test
+++ b/tests/foreach.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: foreach.test,v 1.7 2001/04/07 03:17:24 msofer Exp $
+# RCS: @(#) $Id: foreach.test,v 1.8 2001/09/19 18:17:54 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -222,7 +222,7 @@ test foreach-5.5 {break tests} {
# Test for incorrect "double evaluation" semantics
-test foreach-6.1 {delayed substitution of body} {knownBug} {
+test foreach-6.1 {delayed substitution of body} {
proc foo {} {
set a 0
foreach a [list 1 2 3] "