summaryrefslogtreecommitdiffstats
path: root/tests
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)
commit5f913b056f6f7a725bc34d279386c4888ff7e207 (patch)
tree8bc530e54f265bbae1321e257823db1bcdea3030 /tests
parent233554d0cc6171760f505761be59c1007f34e7d8 (diff)
parent965e4bbab2201076c8c2bc6ae5baca705ab889b0 (diff)
downloadtcl-5f913b056f6f7a725bc34d279386c4888ff7e207.zip
tcl-5f913b056f6f7a725bc34d279386c4888ff7e207.tar.gz
tcl-5f913b056f6f7a725bc34d279386c4888ff7e207.tar.bz2
merge new test
Diffstat (limited to 'tests')
-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 {} ""}