From 2e92368396283850cb10977cd317052fdbcb6161 Mon Sep 17 00:00:00 2001 From: Sagar Jha Date: Mon, 15 Jan 2018 11:38:36 -0500 Subject: [PATCH] fix(seed): Space between function name and parameters was not (#16324) --- .../functional-programming.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json b/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json index bf2b173c47..35466bb918 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json +++ b/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json @@ -289,7 +289,7 @@ ], "tests": [ "assert(fixedValue === 4, 'message: Your function incrementer should not change the value of fixedValue.');", - "assert(code.match(/function\\s+?incrementer\\(.+?\\)/g), 'message: Your incrementer function should take a parameter.');", + "assert(code.match(/function\\s+?incrementer\\s*?\\(.+?\\)/g), 'message: Your incrementer function should take a parameter.');", "assert(newValue === 5, 'message: Your incrementer function should return a value that is one larger than the fixedValue value.');" ], "solutions": [],