diff options
author | dgp <dgp@users.sourceforge.net> | 2003-03-08 21:43:48 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-03-08 21:43:48 (GMT) |
commit | 1f5e864105d4884ced34df6376f79054dcbec9f4 (patch) | |
tree | 1d7014e04ee9b54cfbc2c1da8f15d788857d7d12 /tests/subst.test | |
parent | ed9e2f1ebf814de045b0118ecfcaedddadfab6d1 (diff) | |
download | tcl-1f5e864105d4884ced34df6376f79054dcbec9f4.zip tcl-1f5e864105d4884ced34df6376f79054dcbec9f4.tar.gz tcl-1f5e864105d4884ced34df6376f79054dcbec9f4.tar.bz2 |
* doc/tcltest.n: Added missing "-body" to example. Thanks to
Helmut Giese. [Bug 700011]
Diffstat (limited to 'tests/subst.test')
-rw-r--r-- | tests/subst.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/subst.test b/tests/subst.test index 0e46f02..c91145d 100644 --- a/tests/subst.test +++ b/tests/subst.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: subst.test,v 1.13 2003/02/16 01:36:32 msofer Exp $ +# RCS: @(#) $Id: subst.test,v 1.13.2.1 2003/03/08 21:43:49 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -216,6 +216,10 @@ test subst-11.6 {continue in a variable subst} { subst {foo $var([continue]) bar} } {foo bar} +test subst-bug-685106 {Tcl_SubstObj halts on NULL} { + subst [bytestring bar\x00soom] +} [bytestring bar\x00soom] + # cleanup ::tcltest::cleanupTests return |