summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-07-31 16:55:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-07-31 16:55:58 (GMT)
commit71048d27d0a64c0fa11da33a09037c820babf6e5 (patch)
treefd17f363dc183b557097999d1baff4b82b0cf2b3 /tests
parent6cfb3d987a48cb1ed8dcde2df5c84a5dddae1dde (diff)
downloadtcl-71048d27d0a64c0fa11da33a09037c820babf6e5.zip
tcl-71048d27d0a64c0fa11da33a09037c820babf6e5.tar.gz
tcl-71048d27d0a64c0fa11da33a09037c820babf6e5.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')
-rw-r--r--tests/format.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/format.test b/tests/format.test
index d2cbcde..8aa7d0b 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.28 2008/12/10 18:21:47 ferrieux Exp $
+# RCS: @(#) $Id: format.test,v 1.29 2009/07/31 16:55:58 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -566,6 +566,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}