Skip to content

Conversation

@mortenpi
Copy link
Member

This should fix the nightly test failures. It seems like the JuliaSyntax bump (JuliaLang/julia#50928) removed some parse error printing. Having [...] should test both old and new behavior.

But fixing up these tests every time printing changes is not really feasible either. One option would be to generate the docstring content dynamically, print it into a file, and then eval/include that back into Main (in particular for things like parse errors where we can't control the printing easily).

Note: the relevant Julia versions are 1.10.0-beta3 and 1.11.0-DEV.293, for future reference.

@mortenpi mortenpi merged commit 3d9bc81 into master Aug 22, 2023
@mortenpi mortenpi deleted the mp/fix-doctest-tests branch August 22, 2023 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants