Skip to content

Commit 5e9d10d

Browse files
Merge pull request #1842 from CliMA/ck/julia1p11
Fix version condition in field unit test
2 parents ebfda76 + 9714076 commit 5e9d10d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Fields/unit_field.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ end
186186

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

195195
ifelse_broadcast_or(a, b, c)

0 commit comments

Comments
 (0)