Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using Documenter, IteratorInterfaceExtensions

makedocs(
modules = [IteratorInterfaceExtensions],
sitename = "IteratorInterfaceExtensions.jl",
modules=[IteratorInterfaceExtensions],
sitename="IteratorInterfaceExtensions.jl",
analytics="UA-132838790-1",
pages = [
pages=[
"Introduction" => "index.md"
]
)

deploydocs(
repo = "github.com/queryverse/IteratorInterfaceExtensions.jl.git"
repo="github.com/queryverse/IteratorInterfaceExtensions.jl.git"
)
10 changes: 5 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ end

@testset "IteratorInterfaceExtensions" begin

@test isiterable(MyType()) == false
@test isiterable([1,2,3]) == true
@test isiterable(MyType()) == false
@test isiterable([1,2,3]) == true

@test_throws ErrorException getiterator(MyType())
@test_throws ErrorException getiterator(MyType())

@test [1,2,3] == getiterator([1,2,3])
@test [1,2,3] == getiterator([1,2,3])

@test IteratorSize2([1,2,3]) == Base.HasShape{1}()
@test IteratorSize2([1,2,3]) == Base.HasShape{1}()

end