Skip to content

Commit 9f9b4d2

Browse files
committed
test: add a test
1 parent 0de6fca commit 9f9b4d2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/runtests.jl

+12-12
Original file line numberDiff line numberDiff line change
@@ -2626,30 +2626,30 @@ end
26262626
)
26272627
end
26282628

2629-
# @testset "from_iter # 14" begin
2629+
@testset "from_iter # 14" begin
2630+
@test AwkwardArray.is_valid(
2631+
AwkwardArray.from_iter(
2632+
Vector{Union{Float64,Vector{Int64}}}([1.1, [1, 2], [3]]),
2633+
),
2634+
)
2635+
end
2636+
2637+
# @testset "from_iter # 15" begin
26302638
# @test AwkwardArray.is_valid(
26312639
# AwkwardArray.from_iter(
2632-
# Vector{Union{Float64,Vector{Int64}}}([1.1, [1, 2], [3]]),
2640+
# Vector{Union{Float64,String,Vector{Int64}}}([1.1, [1, 2], "hello", [3]]),
26332641
# ),
26342642
# )
26352643
# end
26362644

2637-
# @testset "from_iter # 15" begin
2645+
# @testset "from_iter # 16" begin
26382646
# @test AwkwardArray.is_valid(
26392647
# AwkwardArray.from_iter(
2640-
# Vector{Union{Float64,String,Vector{Int64}}}([1.1, [1, 2], "hello", [3]]),
2648+
# Vector{Union{Missing,Float64,Vector{Int64}}}([1.1, [1, 2], missing, [3]]),
26412649
# ),
26422650
# )
26432651
# end
26442652

2645-
@testset "from_iter # 16" begin
2646-
@test AwkwardArray.is_valid(
2647-
AwkwardArray.from_iter(
2648-
Vector{Union{Missing,Float64,Vector{Int64}}}([1.1, [1, 2], missing, [3]]),
2649-
),
2650-
)
2651-
end
2652-
26532653
@testset "from_iter # 17" begin
26542654
@test AwkwardArray.is_valid(
26552655
AwkwardArray.from_iter(

0 commit comments

Comments
 (0)