diff options
author | msofer <msofer@noemail.net> | 2001-09-13 11:56:18 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2001-09-13 11:56:18 (GMT) |
commit | 461aaa063f94c3e7111451ad69f25a1978dbc62a (patch) | |
tree | 312894adaa8a1fb3ac1306ff74033406cbf3f8fd /tests | |
parent | e155c34a5ca9cdbd9bfa9f950afeaf184d760ae7 (diff) | |
download | tcl-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')
-rw-r--r-- | tests/parse.test | 6 |
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 |