diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2001-09-13 11:56:19 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2001-09-13 11:56:19 (GMT) |
commit | d819427fc86d39d465f72f010f19054c74c625ca (patch) | |
tree | 312894adaa8a1fb3ac1306ff74033406cbf3f8fd /tests | |
parent | 8fb82585043253ad71e5623478fda7d8a67b1c23 (diff) | |
download | tcl-d819427fc86d39d465f72f010f19054c74c625ca.zip tcl-d819427fc86d39d465f72f010f19054c74c625ca.tar.gz tcl-d819427fc86d39d465f72f010f19054c74c625ca.tar.bz2 |
Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the use
of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard.
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 |