diff options
Diffstat (limited to 'tests/arithm')
-rw-r--r-- | tests/arithm/tarithm.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/arithm/tarithm.nim b/tests/arithm/tarithm.nim index 6d857a788..f27174aef 100644 --- a/tests/arithm/tarithm.nim +++ b/tests/arithm/tarithm.nim @@ -150,10 +150,10 @@ block tshr: let VI16 = -8'i16 let VI8 = -8'i8 # doAssert( (VI shr 1) == 9_223_372_036_854_775_804, "Actual: " & $(VI shr 1)) - doAssert( (VI64 shr 1) == 9_223_372_036_854_775_804, "Actual: " & $(VI64 shr 1)) - doAssert( (VI32 shr 1) == 2_147_483_644, "Actual: " & $(VI32 shr 1)) - doAssert( (VI16 shr 1) == 32_764, "Actual: " & $(VI16 shr 1)) - doAssert( (VI8 shr 1) == 124, "Actual: " & $(VI8 shr 1)) + doAssert( (VI64 shr 1) == -4, "Actual: " & $(VI64 shr 1)) + doAssert( (VI32 shr 1) == -4, "Actual: " & $(VI32 shr 1)) + doAssert( (VI16 shr 1) == -4, "Actual: " & $(VI16 shr 1)) + doAssert( (VI8 shr 1) == -4, "Actual: " & $(VI8 shr 1)) T() static: |