diff options
author | dgp <dgp@users.sourceforge.net> | 2007-09-07 15:51:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-09-07 15:51:24 (GMT) |
commit | 0fff7f052b013ecc6e4194b8568bc7c9e1a9c4f6 (patch) | |
tree | 1004390eda2e52d8425094b14c5693604de37d1f /tests | |
parent | 7a1583786a195fc3b4d1c4e95a223a2113f700c2 (diff) | |
download | tcl-0fff7f052b013ecc6e4194b8568bc7c9e1a9c4f6.zip tcl-0fff7f052b013ecc6e4194b8568bc7c9e1a9c4f6.tar.gz tcl-0fff7f052b013ecc6e4194b8568bc7c9e1a9c4f6.tar.bz2 |
* generic/tclResult.c (Tcl_GetReturnOptions): Take care that a
* tests/init.test: non-TCL_ERROR code doesn't cause existing
-errorinfo, -errorcode, and -errorline entries to be omitted.
* generic/tclEvent.c: With -errorInfo no longer lost, generate more
complete ::errorInfo when calling [bgerror] after a non-TCL_ERROR
background exception.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/init.test b/tests/init.test index da94d67..520a731 100644 --- a/tests/init.test +++ b/tests/init.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: init.test,v 1.15 2006/11/03 00:34:52 hobbs Exp $ +# RCS: @(#) $Id: init.test,v 1.16 2007/09/07 15:51:26 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -207,7 +207,7 @@ test init-5.0 {return options passed through ::unknown} -setup { list $code $foo $bar $code2 $foo2 $bar2 } -cleanup { unset ::auto_index(::xxx) -} -result {2 xxx {-code 1 -level 1} 2 xxx {-code 1 -level 1}} +} -result {2 xxx {-code 1 -level 1 -errorcode NONE} 2 xxx {-code 1 -level 1 -errorcode NONE}} cleanupTests } ;# End of [interp eval $testInterp] |