summaryrefslogtreecommitdiffstats
path: root/tests/proc.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.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.test')
-rw-r--r--tests/proc.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/proc.test b/tests/proc.test
index bef0948..49f9a7b 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -13,7 +13,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.test,v 1.17 2004/09/22 15:48:23 msofer Exp $
+# RCS: @(#) $Id: proc.test,v 1.18 2006/02/01 19:26:02 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -101,12 +101,12 @@ test proc-1.7 {Tcl_ProcObjCmd, check that formal parameter names are not array e
set z [expr $a(1)+$a(2)]
puts "$z=z, $a(1)=$a(1)"
}} msg] $msg
-} {1 {procedure "p" has formal parameter "a(1)" that is an array element}}
+} {1 {formal parameter "a(1)" is an array element}}
test proc-1.8 {Tcl_ProcObjCmd, check that formal parameter names are simple names} {
catch {rename p ""}
list [catch {proc p {b:a b::a} {
}} msg] $msg
-} {1 {procedure "p" has formal parameter "b::a" that is not a simple name}}
+} {1 {formal parameter "b::a" is not a simple name}}
test proc-2.1 {TclFindProc, simple proc name and proc not in namespace} {
catch {namespace delete {expand}[namespace children :: test_ns_*]}