Skip to content

Commit 5b1f858

Browse files
author
Ben Baumgold
committed
attempt to fix failing test
1 parent 0738a72 commit 5b1f858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ end
2020
@test showtable(nttable) isa WebIO.Scope
2121
end
2222
@testset "inf and nan serializing" begin
23-
rows = Tables.table([NaN Inf -Inf 0 missing nothing])
23+
fields = Array{Union{Missing, Nothing, Float64}}(NaN Inf -Inf 0 missing nothing)
24+
rows = Tables.table(fields)
2425
names = [:a, :b, :c, :d, :e, :f]
2526
types = vcat([Float64 for _ in 1:4], [Missing, Nothing])
2627
Base.show(io::IO, x::Missing) = print(io, "test_missing")

0 commit comments

Comments
 (0)