diff options
author | rjohnson <rjohnson@noemail.net> | 1998-10-13 18:44:15 (GMT) |
---|---|---|
committer | rjohnson <rjohnson@noemail.net> | 1998-10-13 18:44:15 (GMT) |
commit | 0728c98865e74d0166ad157308c0b19f8bd0d679 (patch) | |
tree | 2f156e604f9e353b3135cfa37592af5cec5a76f5 /tests/info.test | |
parent | b26da50c3bd52e31ce8372c1b21d54085ccb7ad2 (diff) | |
download | tcl-0728c98865e74d0166ad157308c0b19f8bd0d679.zip tcl-0728c98865e74d0166ad157308c0b19f8bd0d679.tar.gz tcl-0728c98865e74d0166ad157308c0b19f8bd0d679.tar.bz2 |
Fixed bug in "info complete" - it did not handle NULLs correctly.
FossilOrigin-Name: 5ae085bcc21de9de1f5e59b1e85bc8909c02ac60
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"}} {} |