Convert some examples to doctests #2256
Annotations
5 errors and 1 warning
Run julia-actions/julia-docdeploy@v1:
docs/src/constructors.md#L32
doctest failure in src/constructors.md:32-35
```jldoctest
julia> n = ZZ("12345678765456787654567890987654567898765678909876567890")
12345678765456787654567890987654567898765678909876567890
```
Subexpression:
n = ZZ("12345678765456787654567890987654567898765678909876567890")
Evaluated output:
ERROR: UndefVarError: `ZZ` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
12345678765456787654567890987654567898765678909876567890
diff =
Warning: Diff output requires color.
12345678765456787654567890987654567898765678909876567890ERROR: UndefVarError: `ZZ` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@v1:
docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57
```jldoctest
julia> R, x = polynomial_ring(ZZ, "x")
(Univariate polynomial ring in x over ZZ, x)
julia> f = x^3 + 3x + 1
x^3 + 3*x + 1
julia> g = R(12)
12
```
Subexpression:
R, x = polynomial_ring(ZZ, "x")
Evaluated output:
ERROR: UndefVarError: `polynomial_ring` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
(Univariate polynomial ring in x over ZZ, x)
diff =
Warning: Diff output requires color.
(Univariate polynomial ring in x over ZZ, x)ERROR: UndefVarError: `polynomial_ring` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@v1:
docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57
```jldoctest
julia> R, x = polynomial_ring(ZZ, "x")
(Univariate polynomial ring in x over ZZ, x)
julia> f = x^3 + 3x + 1
x^3 + 3*x + 1
julia> g = R(12)
12
```
Subexpression:
f = x^3 + 3x + 1
Evaluated output:
ERROR: UndefVarError: `x` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
x^3 + 3*x + 1
diff =
Warning: Diff output requires color.
x^3 + 3*x + 1ERROR: UndefVarError: `x` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@v1:
docs/src/constructors.md#L48
doctest failure in src/constructors.md:48-57
```jldoctest
julia> R, x = polynomial_ring(ZZ, "x")
(Univariate polynomial ring in x over ZZ, x)
julia> f = x^3 + 3x + 1
x^3 + 3*x + 1
julia> g = R(12)
12
```
Subexpression:
g = R(12)
Evaluated output:
ERROR: UndefVarError: `R` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
12
diff =
Warning: Diff output requires color.
12ERROR: UndefVarError: `R` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@v1
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading