Skip to content

Commit

Permalink
Merge pull request #142 from fingolfin/patch-4
Browse files Browse the repository at this point in the history
Disable failing doctest
  • Loading branch information
oscardssmith authored Sep 20, 2023
2 parents dc7c2cc + eb2b7bf commit 6a55b5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ DocMeta.setdocmeta!(Primes, :DocTestSetup, :(using Primes); recursive = true)
makedocs(
modules = [Primes],
sitename = "Primes.jl",
checkdocs = :none,
pages = Any[
"Home" => "index.md",
"Functions" => "api.md"
Expand Down
5 changes: 3 additions & 2 deletions src/Primes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ For convenience, `divisors(0)` returns `[]`.
# Example
```jldoctest
```julia
julia> divisors(60)
12-element Vector{Int64}:
1 # 1
Expand All @@ -983,7 +983,8 @@ julia> divisors(60)
15 # 5 * 3
30 # 5 * 3 * 2
60 # 5 * 3 * 2 * 2
```
```jldoctest
julia> divisors(-10)
4-element Vector{Int64}:
1
Expand Down

0 comments on commit 6a55b5d

Please sign in to comment.