Skip to content

Commit 596f239

Browse files
fix pre
1 parent 1c47fe6 commit 596f239

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/downstream/alloccheck.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ op = AddedOperator(A, B)
2424
return nothing
2525
end
2626

27-
@test_throws AllocCheckFailure apply_op!(op, w, v, u, p, t)
27+
if VERSION >= v"1.12"
28+
apply_op!(op, w, v, u, p, t)
29+
else
30+
@test_throws AllocCheckFailure apply_op!(op, w, v, u, p, t)
31+
end
2832

2933
for T in (Float32, Float64, ComplexF32, ComplexF64)
3034
N = 100

0 commit comments

Comments
 (0)