Skip to content

allergies: format #1978

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

Merged
merged 1 commit into from
Mar 4, 2022
Merged

allergies: format #1978

merged 1 commit into from
Mar 4, 2022

Conversation

petertseng
Copy link
Member

race condition between
"Exercise allergies test case"
#1969
and
"allow prettier to format more files"
#1966

Since this file is now being formatted by prettier, the test case added
in the latter PR must be formatted according to prettier.

Otherwise, as will be observable from any PR after
#1966, CI fails
on main.

There are alternate approaches, such as directing format-array to always
format expected with one item on each line, but it doesn't seem like
this is particular important for the allergies exercise.

race condition between
"Exercise allergies test case"
exercism#1969
and
"allow prettier to format more files"
exercism#1966

Since this file is now being formatted by prettier, the test case added
in the latter PR must be formatted according to prettier.

Otherwise, as will be observable from any PR after
exercism#1966, CI fails
on main.

There are alternate approaches, such as directing format-array to always
format `expected` with one item on each line, but it doesn't seem like
this is particular important for the `allergies` exercise.
@SaschaMann SaschaMann merged commit 988be7b into exercism:main Mar 4, 2022
@petertseng petertseng deleted the format-allerg branch March 31, 2022 18:48
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.

4 participants