summaryrefslogtreecommitdiffstats
path: root/tests/proc-old.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-02-01 19:26:00 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-02-01 19:26:00 (GMT)
commitfe312f9881e59765486f5f1d6314a5f1e0050875 (patch)
treecc5102e7480d80257995c473101cfae3119a3f13 /tests/proc-old.test
parentbf2e20ec8703a3c6e725e464bb4e7fca8af0834c (diff)
downloadtcl-fe312f9881e59765486f5f1d6314a5f1e0050875.zip
tcl-fe312f9881e59765486f5f1d6314a5f1e0050875.tar.gz
tcl-fe312f9881e59765486f5f1d6314a5f1e0050875.tar.bz2
TIP#194 IMPLEMENTATION
* doc/apply.n: (New file) New command [apply]. [Patch 944803]. * doc/uplevel.n: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclProc.c: * tests/apply.test: (New file) * tests/proc-old.test: * tests/proc.test:
Diffstat (limited to 'tests/proc-old.test')
-rw-r--r--tests/proc-old.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/proc-old.test b/tests/proc-old.test
index 860279e..fe33ef4 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.13 2004/10/29 15:39:10 dkf Exp $
+# RCS: @(#) $Id: proc-old.test,v 1.14 2006/02/01 19:26:02 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -274,10 +274,10 @@ test proc-old-5.4 {error conditions} {
} {1 {unmatched open brace in list}}
test proc-old-5.5 {error conditions} {
list [catch {proc tproc {{} y} {return foo}} msg] $msg
-} {1 {procedure "tproc" has argument with no name}}
+} {1 {argument with no name}}
test proc-old-5.6 {error conditions} {
list [catch {proc tproc {{} y} {return foo}} msg] $msg
-} {1 {procedure "tproc" has argument with no name}}
+} {1 {argument with no name}}
test proc-old-5.7 {error conditions} {
list [catch {proc tproc {{x 1 2} y} {return foo}} msg] $msg
} {1 {too many fields in argument specifier "x 1 2"}}