summaryrefslogtreecommitdiffstats
path: root/tests/proc-old.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2003-05-05 20:54:36 (GMT)
committerdgp <dgp@noemail.net>2003-05-05 20:54:36 (GMT)
commit26bb8b91907eb46293fbd3a571f3f49df4daafe7 (patch)
tree333cb75d8427317c3ad375ecbbf91791916f6817 /tests/proc-old.test
parent197357716ddb9a6d61b0e1e750480df22c3697ee (diff)
downloadtcl-26bb8b91907eb46293fbd3a571f3f49df4daafe7.zip
tcl-26bb8b91907eb46293fbd3a571f3f49df4daafe7.tar.gz
tcl-26bb8b91907eb46293fbd3a571f3f49df4daafe7.tar.bz2
* generic/tclBasic.c: Implementation of TIP 90, which
* generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0. FossilOrigin-Name: d2aab88bfde5587db4e06fc0d0f900ddf7db306a
Diffstat (limited to 'tests/proc-old.test')
-rw-r--r--tests/proc-old.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/proc-old.test b/tests/proc-old.test
index 0292103..81d20b6 100644
--- a/tests/proc-old.test
+++ b/tests/proc-old.test
@@ -14,7 +14,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: proc-old.test,v 1.10 2003/03/27 21:44:05 msofer Exp $
+# RCS: @(#) $Id: proc-old.test,v 1.11 2003/05/05 20:54:52 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -483,7 +483,7 @@ test proc-old-7.14 {return with special completion code} {
"tproc2"} none}
test proc-old-7.15 {return with special completion code} {
list [catch {return -badOption foo message} msg] $msg
-} {1 {bad option "-badOption": must be -code, -errorcode, or -errorinfo}}
+} {2 message}
test proc-old-8.1 {unset and undefined local arrays} {
proc t1 {} {