Skip to content

Commit 988be7b

Browse files
authored
allergies: format (#1978)
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.
1 parent 2e820e1 commit 988be7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

exercises/allergies/canonical-data.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,7 @@
560560
"input": {
561561
"score": 257
562562
},
563-
"expected": [
564-
"eggs"
565-
]
563+
"expected": ["eggs"]
566564
}
567565
]
568566
}

0 commit comments

Comments
 (0)