Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nsajko authored Dec 24, 2024
1 parent ec542f1 commit 6d39536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ end
end
end

let itr = (i + 1 for i in 1:9) # Base.eltype == Any
let itr = ((x -> x)(i) for i in 1:9) # Base.eltype == Any
@test first(Iterators.partition(itr, 3)) isa Vector{Any}
@test collect(zip(repeat([Iterators.Stateful(itr)], 3)...)) == [(1, 2, 3), (4, 5, 6), (7, 8, 9)]
end
Expand Down

0 comments on commit 6d39536

Please sign in to comment.