From 61a5bd16d8b1a2e04036729eb77dec2732331117 Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Mon, 20 Jan 2020 16:27:02 -0500 Subject: [PATCH 1/2] Missing generators.jl test --- test/iterators.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/iterators.jl b/test/iterators.jl index 71d4e2b74cb67..96bf540311673 100644 --- a/test/iterators.jl +++ b/test/iterators.jl @@ -3,6 +3,9 @@ using Base.Iterators using Random +import Base: IteratorSize, SizeUnknown +@test IteratorSize(Any) isa SizeUnknown + # zip and filter iterators # issue #4718 @test collect(Iterators.filter(x->x[1], zip([true, false, true, false],"abcd"))) == [(true,'a'),(true,'c')] From 047a48bb2d8702de17200fd7c1056b1644ef68f8 Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Thu, 23 Jan 2020 08:39:17 -0500 Subject: [PATCH 2/2] fix --- test/iterators.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/iterators.jl b/test/iterators.jl index 96bf540311673..d456969b83aed 100644 --- a/test/iterators.jl +++ b/test/iterators.jl @@ -3,8 +3,7 @@ using Base.Iterators using Random -import Base: IteratorSize, SizeUnknown -@test IteratorSize(Any) isa SizeUnknown +@test Base.IteratorSize(Any) isa Base.SizeUnknown # zip and filter iterators # issue #4718