Documenter.jl icon indicating copy to clipboard operation
Documenter.jl copied to clipboard

`doctest(MyProject,fix=true)` seem to put the output on the wrong side of `# output`

Open TorkelE opened this issue 4 years ago • 1 comments
trafficstars

I ma trying to sue doctest(MyProject,fix=true) to auto-generate the output for a package I want to add doctests to.

When I add an entry

a = 1
b = 2
a + b
# output

and then run doctest(Catalyst,fix=true) The updated entry looks like

a = 1
b = 2
a + b
3
# output

which if I then run `doctest(Catalyst) gives an error. However, if I change to

a = 1
b = 2
a + b
# output
3

things are all fine. It seems unintentional that the output is on that side?

TorkelE avatar Aug 16 '21 13:08 TorkelE

I have the same issue.

eahenle avatar Aug 26 '21 03:08 eahenle