Merge pull request #141 from fingolfin/patch-3 #15
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors
Documentation:
src/Primes.jl#L971
doctest failure in ~/work/Primes.jl/Primes.jl/src/Primes.jl:971-996
```jldoctest
julia> divisors(60)
12-element Vector{Int64}:
1 # 1
2 # 2
4 # 2 * 2
3 # 3
6 # 3 * 2
12 # 3 * 2 * 2
5 # 5
10 # 5 * 2
20 # 5 * 2 * 2
15 # 5 * 3
30 # 5 * 3 * 2
60 # 5 * 3 * 2 * 2
julia> divisors(-10)
4-element Vector{Int64}:
1
2
5
10
julia> divisors(0)
Int64[]
```
Subexpression:
divisors(60)
Evaluated output:
12-element Vector{Int64}:
1
2
4
3
6
12
5
10
20
15
30
60
Expected output:
12-element Vector{Int64}:
1 # 1
2 # 2
4 # 2 * 2
3 # 3
6 # 3 * 2
12 # 3 * 2 * 2
5 # 5
10 # 5 * 2
20 # 5 * 2 * 2
15 # 5 * 3
30 # 5 * 3 * 2
60 # 5 * 3 * 2 * 2
diff =
Warning: Diff output requires color.
12-element Vector{Int64}:
1 # 1
2 # 2
4 # 2 * 2
3 # 4
3
6 # 3 * 2
12 # 3 * 2 * 2
5 # 6
12
5
10 # 5 * 2
20 # 5 * 2 * 2
15 # 5 * 3
30 # 5 * 3 * 2
60 # 5 * 3 * 2 * 210
20
15
30
60
|
Documentation
Process completed with exit code 1.
|