diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index 4be89011bc..380cb3ebb1 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -1341,12 +1341,12 @@ { "text": "foo is exported.", "testString": - "getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+foo\\s+=+\\s\"bar\"/g), 'foo is exported.');" + "getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+foo\\s*=\\s*\"bar\"/g), 'foo is exported.');" }, { "text": "bar is exported.", "testString": - "getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+bar\\s+=+\\s\"foo\"/g), 'bar is exported.');" + "getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+bar\\s*=\\s*\"foo\"/g), 'bar is exported.');" } ], "releasedOn": "Feb 17, 2017", @@ -1360,7 +1360,7 @@ "contents": [ "\"use strict\";", "const foo = \"bar\";", - "const bar= \"foo\";" + "const bar = \"foo\";" ], "head": ["window.exports = function(){};"], "tail": []