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

[Resistor Color Expert]: Corrected Small Typos #3469

Merged
merged 6 commits into from
Jul 21, 2023

Conversation

BethanyG
Copy link
Member

@BethanyG BethanyG commented Jul 19, 2023

While the original purpose of this PR was to fix small typos in Resistor Color Expert, it has ballooned into a 237-file change to fix the CI. All practice exercise JinJa2 templates needed to be altered, and all related test files needed to be regenerated.

Hopefully, this is the last time this will be necessary.
Please see the commit message for more details.

…ython into resistor-expert-fixup

Pick up 1 upstream commit.
The generated vs submitted diff now skips the first three lines of the file
so that the generation date is not picked up and flagged as needing regeneration.

Sadly, a workaround was also needed to prevent difflib from noting the difference
anyways and producing an empty "false positive" diff.

All templates and test files also needed to be altered to ensure that the first three
lines of every test file will always be the autogeneration comment and date.

Hopefully, this will now stop the CI failures without creating any subtle additional bugs.
@BethanyG BethanyG merged commit be79419 into exercism:main Jul 21, 2023
8 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.

1 participant