diff options
Diffstat (limited to 'stdlib/test')
-rw-r--r-- | stdlib/test/test/lux/data/bit.lux | 4 | ||||
-rw-r--r-- | stdlib/test/test/lux/world/blob.lux | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/test/test/lux/data/bit.lux b/stdlib/test/test/lux/data/bit.lux index ca9e21d86..f8c9bc8ef 100644 --- a/stdlib/test/test/lux/data/bit.lux +++ b/stdlib/test/test/lux/data/bit.lux @@ -66,6 +66,6 @@ (test "Shift right respect the sign of ints." (let [value (nat-to-int pattern)] (if (i/< 0 value) - (i/< 0 (&.signed-shift-right idx value)) - (i/>= 0 (&.signed-shift-right idx value))))) + (i/< 0 (&.arithmetic-right-shift idx value)) + (i/>= 0 (&.arithmetic-right-shift idx value))))) )))) diff --git a/stdlib/test/test/lux/world/blob.lux b/stdlib/test/test/lux/world/blob.lux index bd185d16f..b2cc51d0f 100644 --- a/stdlib/test/test/lux/world/blob.lux +++ b/stdlib/test/test/lux/world/blob.lux @@ -49,9 +49,9 @@ _ (undefined))))) - #let [value-8 (n/% (bit.shift-left +8 +1) value) - value-16 (n/% (bit.shift-left +16 +1) value) - value-32 (n/% (bit.shift-left +32 +1) value) + #let [value-8 (n/% (bit.left-shift +8 +1) value) + value-16 (n/% (bit.left-shift +16 +1) value) + value-32 (n/% (bit.left-shift +32 +1) value) value-64 value slice-size (|> to (n/- from) n/inc) random-slice (e.assume (@.slice from to random-blob))]] |