Skip to content

Commit bc3427b

Browse files
Fix broken test for julia 1.11
1 parent 93194ba commit bc3427b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/Fields/unit_field.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,11 @@ end
186186

187187
ifelse_broadcast_allocating(a, b, c)
188188
p_allocated = @allocated ifelse_broadcast_allocating(a, b, c)
189-
@test_broken p_allocated == 0
189+
if VERSION < v"1.11"
190+
@test_broken p_allocated == 0
191+
else
192+
@test p_allocated == 0
193+
end
190194

191195
ifelse_broadcast_or(a, b, c)
192196
p_allocated = @allocated ifelse_broadcast_or(a, b, c)

0 commit comments

Comments
 (0)