summaryrefslogtreecommitdiffstats
path: root/tests/format.test
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-10-27 17:55:14 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-10-27 17:55:14 (GMT)
commit3dc792af1b4092559af5da21b600651cde78c1ff (patch)
treed2331015fa7b4dd2719af0b18a730f019c20f23f /tests/format.test
parent92c681aa2eddf84cf71f8d3debd36a6d452be888 (diff)
downloadtcl-3dc792af1b4092559af5da21b600651cde78c1ff.zip
tcl-3dc792af1b4092559af5da21b600651cde78c1ff.tar.gz
tcl-3dc792af1b4092559af5da21b600651cde78c1ff.tar.bz2
fixed format-19.1 for 64 bit machines
Diffstat (limited to 'tests/format.test')
-rw-r--r--tests/format.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/format.test b/tests/format.test
index 6338d0c..3ca51ac 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.11.2.5 2004/10/27 15:39:36 kennykb Exp $
+# RCS: @(#) $Id: format.test,v 1.11.2.6 2004/10/27 17:55:14 kennykb Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -538,10 +538,10 @@ test format-18.2 {do not demote existing numeric values} {wideIntExpressions} {
test format-19.1 {
regression test - tcl-core message by Brian Griffin on
26 0ctober 2004
-} {
+} -body {
set x 0x8fedc654
list [expr { ~ $x }] [format %08x [expr { ~$x }]]
-} {-2414724693 701239ab}
+} -match regexp -result {-2414724693 f*701239ab}
# cleanup
catch {unset a}