diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-14 22:02:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-14 22:02:00 (GMT) |
commit | a98d79021f17d79a3e159b3da043972466bb315d (patch) | |
tree | effba24c17d8545e764797ed5ce38c71ad76c44e /tests/util.test | |
parent | 49b167a3881644c6aee6b73d87e4edd13a50ce29 (diff) | |
parent | 6751485187087a5d96253b9d52e1e01b33e0c1a4 (diff) | |
download | tcl-a98d79021f17d79a3e159b3da043972466bb315d.zip tcl-a98d79021f17d79a3e159b3da043972466bb315d.tar.gz tcl-a98d79021f17d79a3e159b3da043972466bb315d.tar.bz2 |
Merge 8.7
Diffstat (limited to 'tests/util.test')
-rw-r--r-- | tests/util.test | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/util.test b/tests/util.test index 8f42047..49fbebf 100644 --- a/tests/util.test +++ b/tests/util.test @@ -653,16 +653,16 @@ test util-9.43 {Tcl_GetIntForIndex} -body { test util-9.44 {Tcl_GetIntForIndex} -body { string index a 0+1000000000000 } -result {} -test util-9.45 {Tcl_GetIntForIndex} { +test util-9.45 {Tcl_GetIntForIndex} -body { string index abcd end+2305843009213693950 -} {} -test util-9.46 {Tcl_GetIntForIndex} { +} -result {} +test util-9.46 {Tcl_GetIntForIndex} -body { string index abcd end+4294967294 -} {} +} -result {} # TIP 502 -test util-9.47 {Tcl_GetIntForIndex} { +test util-9.47 {Tcl_GetIntForIndex} -body { string index abcd 0x10000000000000000 -} {} +} -result {} test util-9.48 {Tcl_GetIntForIndex} { string index abcd -0x10000000000000000 } {} @@ -684,18 +684,18 @@ test util-9.53 {Tcl_GetIntForIndex} -body { test util-9.54 {Tcl_GetIntForIndex} { string index abcd end-0x10000000000000000 } {} -test util-9.55 {Tcl_GetIntForIndex} { +test util-9.55 {Tcl_GetIntForIndex} -body { string index abcd end+0x10000000000000000 -} {} -test util-9.56 {Tcl_GetIntForIndex} { +} -result {} +test util-9.56 {Tcl_GetIntForIndex} -body { string index abcd end--0x10000000000000000 -} {} +} -result {} test util-9.57 {Tcl_GetIntForIndex} { string index abcd end+-0x10000000000000000 } {} -test util-9.58 {Tcl_GetIntForIndex} { +test util-9.58 {Tcl_GetIntForIndex} -body { string index abcd end--0x8000000000000000 -} {} +} -result {} test util-10.1 {Tcl_PrintDouble - rounding} {ieeeFloatingPoint} { convertDouble 0x0000000000000000 |