Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeffebach committed Mar 31, 2020
1 parent c437d18 commit 520df3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ struct CubeRooter end
@test_throws ArgumentError skipmissings(x, l)
mx, my = skipmissings(x, y)
iobuf = IOBuffer()
show(io, MIME("text/plain"), mx)
s = String(take!(io))
show(iobuf, MIME("text/plain"), mx)
s = String(take!(iobuf))
@test s == "Missings.SkipMissings{Array{Union{Missing, Int64},1}}(Union{Missing, Int64"*
"}[1, 2, missing, 4]) comprised of 2 iterators"
@test collect(mx) == [1, 2]
Expand Down

0 comments on commit 520df3c

Please sign in to comment.