Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix doctestapi tests #2230

Merged
merged 2 commits into from
Aug 22, 2023
Merged

test: fix doctestapi tests #2230

merged 2 commits into from
Aug 22, 2023

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.

1 participant