You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some code doing automatic creation of docstrings in AbstractAlgebra.jl including some test around that. These tests started to fail a few days ago on julia nightly (ref Nemocas/AbstractAlgebra.jl#1608), due to the @doc macro no longer returning the docstring but only nothing.
MWE:
==>./Project.toml <==
name ="MWE"
uuid ="f8fce2d4-4067-48d1-bd5a-dca4ed90cd6a"
[extras]
Test ="8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test"]
==>./src/MWE.jl <==module MWE
""" foo()"""functionfoo()
return42endend# module MWE==>./test/runtests.jl <==using MWE
using Test
@testcontains(string(@doc MWE.foo), "foo()")
When running the tests from the REPL using include("test/runtests.jl"), everything is fine. However, running them via ] test fails.
A bisection has shown that the regression was introduced in c1a7bb2 (#53220), so this could as well be a Pkg.jl issue.
The text was updated successfully, but these errors were encountered:
Yes, this was a REPL feature that was (apparently) not supposed to be accessed by code. Typical doc usage would have see-also links rather than literally copy text. You might need to load REPL currently in your tests to get them working again
We have some code doing automatic creation of docstrings in AbstractAlgebra.jl including some test around that. These tests started to fail a few days ago on julia nightly (ref Nemocas/AbstractAlgebra.jl#1608), due to the
@doc
macro no longer returning the docstring but onlynothing
.MWE:
When running the tests from the REPL using
include("test/runtests.jl")
, everything is fine. However, running them via] test
fails.A bisection has shown that the regression was introduced in c1a7bb2 (#53220), so this could as well be a Pkg.jl issue.
The text was updated successfully, but these errors were encountered: