Skip to content

Commit dea3b32

Browse files
authored
Disable failing doctest
This doctest annotates the output of `divisors(60)`, which is nice, but Documenter doesn't like it. So just turn it into a plain code block without any testing.
1 parent dc7c2cc commit dea3b32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Primes.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ For convenience, `divisors(0)` returns `[]`.
968968
969969
# Example
970970
971-
```jldoctest
971+
```julia
972972
julia> divisors(60)
973973
12-element Vector{Int64}:
974974
1 # 1
@@ -983,7 +983,8 @@ julia> divisors(60)
983983
15 # 5 * 3
984984
30 # 5 * 3 * 2
985985
60 # 5 * 3 * 2 * 2
986-
986+
```
987+
```jldoctest
987988
julia> divisors(-10)
988989
4-element Vector{Int64}:
989990
1

0 commit comments

Comments
 (0)