diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-29 13:18:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-29 13:18:33 (GMT) |
commit | c51bdde792ad2698aa6a57381799a7e8d716e964 (patch) | |
tree | 85e81ace2a92823af6b8edfb58836b176666db0e /tests/format.test | |
parent | da4ddee814141513552257e9b6f67c941d58a0c7 (diff) | |
parent | 32558e729ed211e0a2ccd2caa6e2f5c8d344e2de (diff) | |
download | tcl-c51bdde792ad2698aa6a57381799a7e8d716e964.zip tcl-c51bdde792ad2698aa6a57381799a7e8d716e964.tar.gz tcl-c51bdde792ad2698aa6a57381799a7e8d716e964.tar.bz2 |
merge trunk
Diffstat (limited to 'tests/format.test')
-rw-r--r-- | tests/format.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/format.test b/tests/format.test index 53b8919..4d312db 100644 --- a/tests/format.test +++ b/tests/format.test @@ -28,7 +28,7 @@ test format-1.1 {integer formatting} { } { 34 16923 -12 -1} test format-1.2 {integer formatting} { format "%4d %4d %4d %4d %d %#x %#X" 6 34 16923 -12 -1 14 12 -} { 6 34 16923 -12 -1 0xe 0XC} +} { 6 34 16923 -12 -1 0xe 0xC} test format-1.3 {integer formatting} longIs32bit { format "%4u %4u %4u %4u %d %#o" 6 34 16923 -12 -1 0 } { 6 34 16923 4294967284 -1 0} @@ -54,10 +54,10 @@ test format-1.7.1 {integer formatting} longIs64bit { } { 6 22 421b fffffffffffffff4} test format-1.8 {integer formatting} longIs32bit { format "%#x %#x %#X %#X %#x" 0 6 34 16923 -12 -1 -} {0 0x6 0X22 0X421B 0xfffffff4} +} {0 0x6 0x22 0x421B 0xfffffff4} test format-1.8.1 {integer formatting} longIs64bit { format "%#x %#x %#X %#X %#x" 0 6 34 16923 -12 -1 -} {0 0x6 0X22 0X421B 0xfffffffffffffff4} +} {0 0x6 0x22 0x421B 0xfffffffffffffff4} test format-1.9 {integer formatting} longIs32bit { format "%#5x %#20x %#20x %#20x %#20x" 0 6 34 16923 -12 -1 } { 0 0x6 0x22 0x421b 0xfffffff4} |