diff options
author | dgp <dgp@users.sourceforge.net> | 2011-07-13 21:19:08 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-07-13 21:19:08 (GMT) |
commit | d4163eb057f96c8a20d8304b1c24ed2c39f2c308 (patch) | |
tree | 8bc530e54f265bbae1321e257823db1bcdea3030 /tests/proc.test | |
parent | c7a0c81b33d15b3d7aa517fafe5e87e34b7cf83c (diff) | |
parent | e52188bb947ad440f55db9df3820f490d62dda97 (diff) | |
download | tcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.zip tcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.tar.gz tcl-d4163eb057f96c8a20d8304b1c24ed2c39f2c308.tar.bz2 |
merge new test
Diffstat (limited to 'tests/proc.test')
-rw-r--r-- | tests/proc.test | 5 |
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 {} ""} |