summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-07-13 21:19:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-07-13 21:19:08 (GMT)
commitd4163eb057f96c8a20d8304b1c24ed2c39f2c308 (patch)
tree8bc530e54f265bbae1321e257823db1bcdea3030
parentc7a0c81b33d15b3d7aa517fafe5e87e34b7cf83c (diff)
parente52188bb947ad440f55db9df3820f490d62dda97 (diff)
downloadtcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.zip
tcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.tar.gz
tcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.tar.bz2
merge new test
-rw-r--r--tests/proc.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/proc.test b/tests/proc.test
index 1d46676..5673caa 100644
--- a/tests/proc.test
+++ b/tests/proc.test
@@ -177,6 +177,11 @@ test proc-3.6 {TclObjInterpProc, proper quoting of proc name, Bug 942757} {
list [catch {{a b c}} msg] $msg
} {1 {wrong # args: should be "{a b c} x"}}
+test proc-3.7 {TclObjInterpProc, wrong num args, Bug 3366265} {
+ proc {} {x} {}
+ list [catch {{}} msg] $msg
+} {1 {wrong # args: should be "{} x"}}
+
catch {namespace delete {*}[namespace children :: test_ns_*]}
catch {rename p ""}
catch {rename {} ""}