Skip to content

Commit e9652db

Browse files
committed
Mark allocation tests as fixed on 1.10
Latest patch release seems to have tightened this up.
1 parent 2a2a50d commit e9652db

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

test/AllocationsTest.jl

+2-10
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,12 @@ convert_test_574() = convert(ForwardDiff.Dual{Nothing,ForwardDiff.Dual{Nothing,F
2424
index = 1
2525
alloc = @allocated ForwardDiff.seed!(duals, x, index, seeds)
2626
alloc = @allocated ForwardDiff.seed!(duals, x, index, seeds)
27-
if VERSION < v"1.9" || VERSION >= v"1.11"
28-
@test alloc == 0
29-
else
30-
@test_broken alloc == 0
31-
end
27+
@test alloc == 0
3228

3329
index = 1
3430
alloc = @allocated ForwardDiff.seed!(duals, x, index, seed)
3531
alloc = @allocated ForwardDiff.seed!(duals, x, index, seed)
36-
if VERSION < v"1.9" || VERSION >= v"1.11"
37-
@test alloc == 0
38-
else
39-
@test_broken alloc == 0
40-
end
32+
@test alloc == 0
4133

4234
alloc = @allocated convert_test_574()
4335
alloc = @allocated convert_test_574()

0 commit comments

Comments
 (0)