diff options
author | dgp <dgp@users.sourceforge.net> | 2009-07-31 16:56:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-07-31 16:56:32 (GMT) |
commit | 13b0e3a3115bdcc30872a5e276edcb35ef009537 (patch) | |
tree | 3c1082ad05283d6a4f25aa1ea051b45b788704c3 /tests/format.test | |
parent | 410f05ea0612ecb96c5833d16c0a8216bcd7fb08 (diff) | |
download | tcl-13b0e3a3115bdcc30872a5e276edcb35ef009537.zip tcl-13b0e3a3115bdcc30872a5e276edcb35ef009537.tar.gz tcl-13b0e3a3115bdcc30872a5e276edcb35ef009537.tar.bz2 |
* generic/tclStringObj.c: Corrected failure to grow buffer
* tests/format.test: when format spec request large width
floating point values. Thanks to Clemens Misch. [Bug 2830354]
Diffstat (limited to 'tests/format.test')
-rw-r--r-- | tests/format.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/format.test b/tests/format.test index 36222a5..48476ab 100644 --- a/tests/format.test +++ b/tests/format.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: format.test,v 1.25.2.1 2008/04/07 16:07:02 dgp Exp $ +# RCS: @(#) $Id: format.test,v 1.25.2.2 2009/07/31 16:56:32 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -563,6 +563,10 @@ test format-19.2 {Bug 1867855} { format %llx 0 } 0 +test format-19.3 {Bug 2830354} { + string length [format %340f 0] +} 340 + # cleanup catch {unset a} catch {unset b} |