Description
As the title says this seems to be the case because in a PR on SumTypes.jl (https://github.com/MasonProtter/SumTypes.jl/pull/63/files) the doctest failing is only on nightly, while all the other works well, as you can see at https://github.com/MasonProtter/SumTypes.jl/actions/runs/7595253256/job/20687608559 the test fails with
Basics : Test Failed at /home/runner/work/SumTypes.jl/SumTypes.jl/test/runtests.jl:40
Expression: string(#= /home/runner/work/SumTypes.jl/SumTypes.jl/test/runtests.jl:40 =# @doc(Foo)) == "This is a Foo.\n"
Evaluated: "nothing" == "This is a Foo.\n"
while for all other Julia versions it returns "This is a Foo.\n"
. Same is happening also on the CI of ProtoStructs.jl e.g. here https://github.com/BeastyBlacksmith/ProtoStructs.jl/actions/runs/7500520539/job/20419369109
Unfortunately I wasn't able to find a MWE when I searched for it