Skip to content

Commit 5a3aaa6

Browse files
authored
A test is no longer broken (was broken on 1.10.0 but is fixed on 1.10.2) (#919)
1 parent dceb621 commit 5a3aaa6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/scalarstats.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,7 @@ x = sort!(vcat([5:-1:i for i in 1:5]...))
222222
@test mad(Iterators.repeated(4, 10)) == 0
223223
@test mad(Integer[1,2,3,4]) === mad(1:4)
224224
let itr = (i for i in 1:10000)
225-
if VERSION >= v"1.10.0-"
226-
# FIXME: Allocations are closer to 10x this on 1.10
227-
@test_broken (@benchmark mad($itr)).allocs < 200
228-
else
229-
@test (@benchmark mad($itr)).allocs < 200
230-
end
225+
@test (@benchmark mad($itr)).allocs < 200
231226
end
232227

233228
# Issue 197

0 commit comments

Comments
 (0)