Skip to content

Commit ebfda76

Browse files
Merge pull request #1841 from CliMA/ck/julia1p11
Fix broken test for julia 1.11
2 parents d8c9eda + bc3427b commit ebfda76

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)