diff options
author | rjohnson <rjohnson> | 1998-10-13 18:44:15 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1998-10-13 18:44:15 (GMT) |
commit | b091a84076a589e3188f5762fcbaf1ccc3556dda (patch) | |
tree | 2f156e604f9e353b3135cfa37592af5cec5a76f5 /tests/info.test | |
parent | 7e68669921ece34a9b75205b450efba1f3533b52 (diff) | |
download | tcl-b091a84076a589e3188f5762fcbaf1ccc3556dda.zip tcl-b091a84076a589e3188f5762fcbaf1ccc3556dda.tar.gz tcl-b091a84076a589e3188f5762fcbaf1ccc3556dda.tar.bz2 |
Fixed bug in "info complete" - it did not handle NULLs correctly.
Diffstat (limited to 'tests/info.test')
-rw-r--r-- | tests/info.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/info.test b/tests/info.test index d4ad093..228524d 100644 --- a/tests/info.test +++ b/tests/info.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: info.test,v 1.3 1998/09/14 18:40:10 stanton Exp $ +# RCS: @(#) $Id: info.test,v 1.4 1998/10/13 18:44:16 rjohnson Exp $ if {[string compare test [info procs test]] == 1} then {source defs} @@ -233,6 +233,12 @@ test info-5.46 {info complete option} { test info-5.47 {info complete option} { info complete "abc\\\n" } 0 +test info-5.48 {info complete option} { + info complete "set x [binary format H 00]; puts hi" +} 1 +test info-5.49 {info complete option} { + info complete "set x [binary format H 00]; {" +} 0 test info-6.1 {info default option} { proc t1 {a b {c d} {e "long default value"}} {} |