diff options
author | dgp <dgp@noemail.net> | 2008-01-10 16:09:21 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-01-10 16:09:21 (GMT) |
commit | 9ac9cad47ca7b652e1d870044dac46ddcf8adde7 (patch) | |
tree | 4725991e79f7264b8778b2cad167b022eb6f19e6 /tests/format.test | |
parent | d1405cdf534ae7ef9c5497489337f26b92c17a2c (diff) | |
download | tcl-9ac9cad47ca7b652e1d870044dac46ddcf8adde7.zip tcl-9ac9cad47ca7b652e1d870044dac46ddcf8adde7.tar.gz tcl-9ac9cad47ca7b652e1d870044dac46ddcf8adde7.tar.bz2 |
* generic/tclStringObj.c (Tcl_AppendFormatToObj): Correct failure to
* tests/format.test: account for big.used == 0 corner case in the
%ll(idox) format directives. [Bug 1867855].
FossilOrigin-Name: 8af00ef2f0ad5776d8478d1633717161757039bc
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 321f52f..b050fc3 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.24 2006/03/21 11:12:29 dkf Exp $ +# RCS: @(#) $Id: format.test,v 1.25 2008/01/10 16:09:23 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -553,6 +553,10 @@ test format-19.1 { list [expr { ~ $x }] [format %08x [expr { ~$x }]] } -match regexp -result {-2414724693 f*701239ab} +test format-19.2 {Bug 1867855} { + format %llx 0 +} 0 + # cleanup catch {unset a} catch {unset b} |