Skip to content

Commit

Permalink
allergies: format (exercism#1978)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
petertseng authored Mar 4, 2022
1 parent 2e820e1 commit 988be7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions exercises/allergies/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,7 @@
"input": {
"score": 257
},
"expected": [
"eggs"
]
"expected": ["eggs"]
}
]
}
Expand Down

0 comments on commit 988be7b

Please sign in to comment.