Skip to content

Commit

Permalink
Fix(accumulate): remove extra ) in canonical-data.json (#1921)
Browse files Browse the repository at this point in the history
Fixes: #1920
  • Loading branch information
ynfle authored Jan 19, 2022
1 parent 574c14b commit 52ba7cc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions exercises/accumulate/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@
["b1", "b2", "b3"],
["c1", "c2", "c3"]
]
},
{
"uuid": "0b357334-4cad-49e1-a741-425202edfc7c",
"description": "accumulate recursively",
"property": "accumulate",
"reimplements": "bee8e9b6-b16f-4cd2-be3b-ccf7457e50bb",
"comments": ["Removes the trailing `)` at the end of the expression"],
"input": {
"list": ["a", "b", "c"],
"accumulator": "(x) => accumulate([\"1\", \"2\", \"3\"], (y) => x + y)"
},
"expected": [
["a1", "a2", "a3"],
["b1", "b2", "b3"],
["c1", "c2", "c3"]
]
}
]
}

0 comments on commit 52ba7cc

Please sign in to comment.