summaryrefslogtreecommitdiffstats
path: root/tests/format.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-23 15:04:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-23 15:04:44 (GMT)
commit5c8fa3dc3d5105a7d07ea6531af403f132e496e2 (patch)
treebf15046cb8045d6956cd40cf7e7b8cd17e948cd4 /tests/format.test
parentc3310760bb5f85c9880ce05263ce25aed146e458 (diff)
downloadtcl-5c8fa3dc3d5105a7d07ea6531af403f132e496e2.zip
tcl-5c8fa3dc3d5105a7d07ea6531af403f132e496e2.tar.gz
tcl-5c8fa3dc3d5105a7d07ea6531af403f132e496e2.tar.bz2
No longer split tests for longIs32bit/longIs64bit, since the results should be identical
Diffstat (limited to 'tests/format.test')
-rw-r--r--tests/format.test15
1 files changed, 3 insertions, 12 deletions
diff --git a/tests/format.test b/tests/format.test
index 1c20d0f..094b7b3 100644
--- a/tests/format.test
+++ b/tests/format.test
@@ -79,22 +79,13 @@ test format-1.11.1 {integer formatting} longIs64bit {
test format-1.12 {integer formatting} {
format "%b %#b %#b %llb" 5 0 5 [expr {2**100}]
} {101 0b0 0b101 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000}
-test format-1.13 {integer formatting} longIs32bit {
+test format-1.13 {integer formatting} {
format "%#d %#d %#d %#d %#d" 0 6 34 16923 -12 -1
} {0d0 0d6 0d34 0d16923 -0d12}
-test format-1.13.1 {integer formatting} longIs64bit {
- format "%#d %#d %#d %#d %#d" 0 6 34 16923 -12 -1
-} {0d0 0d6 0d34 0d16923 -0d12}
-test format-1.14 {integer formatting} longIs32bit {
- format "%#5d %#20d %#20d %#20d %#20d" 0 6 34 16923 -12 -1
-} { 0d0 0d6 0d34 0d16923 -0d12}
-test format-1.14.1 {integer formatting} longIs64bit {
+test format-1.14 {integer formatting} {
format "%#5d %#20d %#20d %#20d %#20d" 0 6 34 16923 -12 -1
} { 0d0 0d6 0d34 0d16923 -0d12}
-test format-1.15 {integer formatting} longIs32bit {
- format "%-#5d %-#20d %-#20d %-#20d %-#20d" 0 6 34 16923 -12 -1
-} {0d0 0d6 0d34 0d16923 -0d12 }
-test format-1.15.1 {integer formatting} longIs64bit {
+test format-1.15 {integer formatting} {
format "%-#5d %-#20d %-#20d %-#20d %-#20d" 0 6 34 16923 -12 -1
} {0d0 0d6 0d34 0d16923 -0d12 }