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

Make highlight tests fail when new syntaxes don't have fixtures #3255

Merged

Conversation

dan-hipschman
Copy link
Contributor

I stumbled across #3236 (comment) and wanted to fix it.

For more context, a new language was added but the author forgot to run update.sh to add a test fixture for it. This should have caused CI to fail, but it passed. The reason is that the highlighting regression test scripts iterate over existing fixtures, and hence don't catch newly added languages that haven't added a fixture.

@dan-hipschman dan-hipschman force-pushed the fix-syntax-test-compare-script branch from e435fc8 to 9272e09 Compare April 1, 2025 20:08
Copy link
Collaborator

@keith-hall keith-hall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for taking the initiative on this 🙂

@keith-hall keith-hall merged commit fc7dff5 into sharkdp:master Apr 2, 2025
24 checks passed
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