diff options
author | dgp <dgp@noemail.net> | 2011-07-13 21:19:08 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2011-07-13 21:19:08 (GMT) |
commit | 20a009d5cd4ab3c04d0e952a3ed923497e62b168 (patch) | |
tree | 8bc530e54f265bbae1321e257823db1bcdea3030 | |
parent | 25e22815475a5f2f17705c777d56dc1fbb747b5b (diff) | |
parent | 669dbfa38d393ab98140babf03c400c335ce8bd9 (diff) | |
download | tcl-20a009d5cd4ab3c04d0e952a3ed923497e62b168.zip tcl-20a009d5cd4ab3c04d0e952a3ed923497e62b168.tar.gz tcl-20a009d5cd4ab3c04d0e952a3ed923497e62b168.tar.bz2 |
merge new test
FossilOrigin-Name: 38a5642a29d3cd5ee092fb3c4f47eba910a46167
-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 {} ""} |