diff options
author | Araq <rumpf_a@web.de> | 2019-09-02 14:23:05 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-09-02 14:23:05 +0200 |
commit | 18ca1788f028aee0d01893b91c5568797830030d (patch) | |
tree | 8dc9566553371bb179afcc3558894289ea8cd837 | |
parent | 755c4428fe3a58e53baeff7df714ab660b9a3060 (diff) | |
download | Nim-18ca1788f028aee0d01893b91c5568797830030d.tar.gz |
makes test green again
-rw-r--r-- | tests/vm/tzero_extend.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vm/tzero_extend.nim b/tests/vm/tzero_extend.nim index 76aa9ee67..1fed5d419 100644 --- a/tests/vm/tzero_extend.nim +++ b/tests/vm/tzero_extend.nim @@ -18,9 +18,9 @@ proc get_values(): (seq[int8], seq[int16], seq[int32]) = let i32 = -(1'i64 shl 33) + offset # higher bits are masked. these should be exactly equal to offset. - result[0].add cast[int8 ](uint8 cast[uint64](i8 )) - result[1].add cast[int16](uint16 cast[uint64](i16)) - result[2].add cast[int32](uint32 cast[uint64](i32)) + result[0].add cast[int8](cast[uint64](i8)) + result[1].add cast[int16](cast[uint64](i16)) + result[2].add cast[int32](cast[uint64](i32)) # these values this computed by VM |