Skip to content

allergies: format#1978

Merged
SaschaMann merged 1 commit intoexercism:mainfrom
petertseng:format-allerg
Mar 4, 2022
Merged

allergies: format#1978
SaschaMann merged 1 commit intoexercism:mainfrom
petertseng:format-allerg

Conversation

@petertseng
Copy link
Copy Markdown
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