diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-05 09:09:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-05 09:09:20 (GMT) |
commit | 19719bf57ffd63ee7e01c539197f59c3e40c3e55 (patch) | |
tree | bc483abe6a64177bc46c4a717b7a698fa285ebd2 /tests/format.test | |
parent | 85397cf8937ee6f25ceee8ab9e8d65d79bda8894 (diff) | |
parent | ea8cb9b7bbc9be827be479c3aad3700cbe5774a4 (diff) | |
download | tcl-19719bf57ffd63ee7e01c539197f59c3e40c3e55.zip tcl-19719bf57ffd63ee7e01c539197f59c3e40c3e55.tar.gz tcl-19719bf57ffd63ee7e01c539197f59c3e40c3e55.tar.bz2 |
Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu doesn't work. Also added new test-cases showing the expected behavior.
Diffstat (limited to 'tests/format.test')
-rw-r--r-- | tests/format.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/format.test b/tests/format.test index 00b6939..a4ea25e 100644 --- a/tests/format.test +++ b/tests/format.test @@ -549,6 +549,12 @@ test format-17.3 {testing %ld with non-wide} {wideIs64bit} { test format-17.4 {testing %l with non-integer} { format %lf 1 } 1.000000 +test format-17.5 {testing %llu with bignum} { + format %llu 0xabcdef0123456789abcdef +} 207698809136909011942886895 +test format-17.6 {testing %llu with negative number} -body { + format %llu -1 +} -returnCodes 1 -result {unsigned bignum format is invalid} test format-18.1 {do not demote existing numeric values} { set a 0xaaaaaaaa |