summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2004-03-15 20:34:11 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2004-03-15 20:34:11 (GMT)
commit121105e0ad2f6051d2936d793833b2c263c9b1b4 (patch)
treea6c886b5243bb9aa939b0567f583c46699cbfac2 /tests/compile.test
parent074f543ea2e37afc36c7f281e75575d211bde796 (diff)
downloadtcl-121105e0ad2f6051d2936d793833b2c263c9b1b4.zip
tcl-121105e0ad2f6051d2936d793833b2c263c9b1b4.tar.gz
tcl-121105e0ad2f6051d2936d793833b2c263c9b1b4.tar.bz2
* generic/tclCompile.c (TclCompileScript):
* tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
Diffstat (limited to 'tests/compile.test')
-rw-r--r--tests/compile.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compile.test b/tests/compile.test
index 1d2ae72..9a7b3b8 100644
--- a/tests/compile.test
+++ b/tests/compile.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: compile.test,v 1.24.2.1 2003/03/19 22:53:16 msofer Exp $
+# RCS: @(#) $Id: compile.test,v 1.24.2.2 2004/03/15 20:34:13 msofer Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -124,7 +124,7 @@ test compile-3.5 {TclCompileCatchCmd: recover from error, [Bug 705406]} {
}
}
list [catch foo msg] $msg
-} {1 {invalid command name "a"}}
+} {0 1}
test compile-4.1 {TclCompileForCmd: command substituted test expression} {
set i 0