Skip to content

Commit

Permalink
two more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nsajko authored Jan 29, 2025
1 parent 51c58f8 commit 17edd34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ end
@testset "empty iterator with inexact `eltype`" begin
iterator = Iterators.map((x -> x + 0.3), [])
@test collect_as(FSV, iterator) isa FSV{Union{}}
@test collect_as(FSV{Union{}}, iterator) isa FSV{Union{}}
@test collect_as(FSV{Float32}, iterator) isa FSV{Float32}
end
@testset "`Union{}`" begin
@test_throws Exception collect_as(Union{}, ())
Expand Down

0 comments on commit 17edd34

Please sign in to comment.