Skip to content

Commit 8d48c21

Browse files
test: update allocation tests
1 parent 8f347ad commit 8d48c21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/broadcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131
@test y == 5
3232
# FIXME This should not allocate but I couldn't figure out where these
3333
# allocations come from.
34-
n = (VERSION >= v"1.11" ? 14 : 10) * sizeof(Int)
34+
n = (VERSION >= v"1.11" ? 42 : 30) * sizeof(Int)
3535
alloc_test(() -> MA.broadcast!!(+, a, b), n)
3636
alloc_test(() -> MA.broadcast!!(+, a, c), 0)
3737
end

test/utilities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
include("dummy.jl")
88

99
# Allocating size for allocating a `BigInt`. Half size on 32-bit.
10-
const BIGINT_ALLOC = @static if VERSION >= v"1.12"
10+
const BIGINT_ALLOC = @static if VERSION >= v"1.12-beta1"
1111
Sys.WORD_SIZE == 64 ? 72 : 36
1212
elseif VERSION >= v"1.11"
1313
Sys.WORD_SIZE == 64 ? 56 : 28

0 commit comments

Comments
 (0)