diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json index bf2b173c479..35466bb9186 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json +++ b/seed/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": [],