diff options
author | Kevin B Kenny <kennykb@acm.org> | 2004-10-27 15:42:55 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2004-10-27 15:42:55 (GMT) |
commit | fb0dd7d79693fa04244c19f9b0fbaed6eec65410 (patch) | |
tree | 25192546f693f214905becc8b5b5bd5802e5680d /tests/format.test | |
parent | c42f7214cddeff6533e5ed52c45ab2c9471382af (diff) | |
download | tcl-fb0dd7d79693fa04244c19f9b0fbaed6eec65410.zip tcl-fb0dd7d79693fa04244c19f9b0fbaed6eec65410.tar.gz tcl-fb0dd7d79693fa04244c19f9b0fbaed6eec65410.tar.bz2 |
additional regression test for Bug 868489
Diffstat (limited to 'tests/format.test')
-rw-r--r-- | tests/format.test | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/format.test b/tests/format.test index 774fd1e..fdb80e0 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.17 2004/05/19 20:15:31 dkf Exp $ +# RCS: @(#) $Id: format.test,v 1.18 2004/10/27 15:42:55 kennykb Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -527,6 +527,14 @@ test format-18.2 {do not demote existing numeric values} {wideIntExpressions} { list [catch {format %08x $a} msg] $msg [expr {$a == $b}] } {1 {integer value too large to represent} 1} +test format-19.1 { + regression test - tcl-core message by Brian Griffin on + 26 0ctober 2004 +} { + set x 0x8fedc654 + list [expr { ~ $x }] [format %08x [expr { ~$x }]] +} {-2414724693 701239ab} + # cleanup catch {unset a} catch {unset b} |