summaryrefslogtreecommitdiffstats
path: root/tests/parse.test
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2001-09-13 11:56:18 (GMT)
committermsofer <msofer@noemail.net>2001-09-13 11:56:18 (GMT)
commit461aaa063f94c3e7111451ad69f25a1978dbc62a (patch)
tree312894adaa8a1fb3ac1306ff74033406cbf3f8fd /tests/parse.test
parente155c34a5ca9cdbd9bfa9f950afeaf184d760ae7 (diff)
downloadtcl-461aaa063f94c3e7111451ad69f25a1978dbc62a.zip
tcl-461aaa063f94c3e7111451ad69f25a1978dbc62a.tar.gz
tcl-461aaa063f94c3e7111451ad69f25a1978dbc62a.tar.bz2
Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the use
of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard. FossilOrigin-Name: 3e892aa048440da5816da89bcdd275c9a1fa41c6
Diffstat (limited to 'tests/parse.test')
-rw-r--r--tests/parse.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/parse.test b/tests/parse.test
index a253a48..472e5d4 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: parse.test,v 1.7 2000/04/10 17:19:02 ericm Exp $
+# RCS: @(#) $Id: parse.test,v 1.8 2001/09/13 11:56:20 msofer Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -732,6 +732,10 @@ test parse-16.1 {Tcl_EvalEx, check termOffset is set correctly for non TCL_OK ca
subst {[eval {return foo}]bar}
} foobar
+test parse-17.1 {Correct return codes from errors during substitution} {
+ catch {eval {w[continue]}}
+} 4
+
# cleanup
catch {unset a}
::tcltest::cleanupTests