Skip to content

Commit 6ba6b94

Browse files
committed
fix test_broken syntax on v1.6
1 parent 3914986 commit 6ba6b94

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/blockmap.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,11 @@ using LinearMaps: FiveArg
281281
if transform != adjoint
282282
transL = transform(L)
283283
alloc = @allocated similar(v)
284-
@test (@allocated mul!(v, transL, u, α, β)) <= alloc broken = (L == L2 && α != false)
284+
if L == L2 && α != false
285+
@test_broken (@allocated mul!(v, transL, u, α, β)) <= alloc
286+
else
287+
@test (@allocated mul!(v, transL, u, α, β)) <= alloc
288+
end
285289
end
286290
end
287291
end

0 commit comments

Comments
 (0)