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

fix: highlight tests shouldn't expect case parameters to be included in case highlight #457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LoZander
Copy link

@LoZander LoZander commented Nov 8, 2024

This PR modifies the highlight tests regarding enum cases. Before, they expected the parameters to be included in the highlight. For instance, for case Circel(Int32) previously Circle(Int32) would be highlighted, whereas now only Circle will be.

Related to flix/flix#9114

…e included in the highlight, now they just expect the symbol
@magnus-madsen
Copy link
Member

If this is merged will the #9071 report no errors?

@LoZander
Copy link
Author

If this is merged will the #9071 report no errors?

This unfortunately does not make all the tests pass. When I originally brough up this issue, I believe the remaining failures were due to tests that were wrong, but it turned out some were caused by that. There are remaining failures that were just due to legtiimate highlighting issues, namely the thin cursor problem and the record highlighting being broken. The former has been fixed so now only one test should fail, this one due to record highlighting being broken. I'm working on the record stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants