From c417239c50603728d022b45aa4f8306f739de1c2 Mon Sep 17 00:00:00 2001 From: Peter Tseng Date: Fri, 4 Mar 2022 12:52:27 +0000 Subject: [PATCH] allergies: format race condition between "Exercise allergies test case" https://github.com/exercism/problem-specifications/pull/1969 and "allow prettier to format more files" https://github.com/exercism/problem-specifications/pull/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 https://github.com/exercism/problem-specifications/pull/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. --- exercises/allergies/canonical-data.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/exercises/allergies/canonical-data.json b/exercises/allergies/canonical-data.json index 4bb0911eb3..8fcc359a47 100644 --- a/exercises/allergies/canonical-data.json +++ b/exercises/allergies/canonical-data.json @@ -560,9 +560,7 @@ "input": { "score": 257 }, - "expected": [ - "eggs" - ] + "expected": ["eggs"] } ] }