Skip to content

Commit

Permalink
divisors: add doctest filter
Browse files Browse the repository at this point in the history
... to filter out annotations added to the doctest output
  • Loading branch information
fingolfin authored Sep 20, 2023
1 parent 177dd94 commit 648c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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
```jldoctest; filter = r"\s+#.*$"
julia> divisors(60)
12-element Vector{Int64}:
1 # 1
Expand Down

0 comments on commit 648c4a7

Please sign in to comment.