diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json
index bd60f16acc..3c5dd784a7 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -1780,7 +1780,7 @@
"tests": [
"assert(myData === 8, 'message: myData
should be equal to 8
.');",
"assert(/myArray\\[\\d+\\]\\[\\d+\\]/g.test(code), 'message: You should be using bracket notation to read the value from myArray
.');",
- "assert(/myData\\s*?=\\s*?myArray\\[\\d+\\]\\[\\d+\\]\\s*?;/g.test(code), 'message: You should only be reading one value from myArray
.');"
+ "assert(/myData\\s*?=\\s*?myArray\\[\\d+\\]\\[\\d+\\]\\s*?;/g.test(code), 'message: You should only be reading one value from myArray
.');"
],
"type": "waypoint",
"challengeType": 1,
@@ -3458,10 +3458,10 @@
"function caseInSwitch(val) {\n var answer = \"\";\n\n switch (val) {\n case 1:\n answer = \"alpha\";\n break;\n case 2:\n answer = \"beta\";\n break;\n case 3:\n answer = \"gamma\";\n break;\n case 4:\n answer = \"delta\";\n }\n return answer; \n}"
],
"tests": [
- "assert(caseInSwitch(1) === \"alpha\", 'message: caseInSwitch(1) should have a value of \"alpha\"');",
- "assert(caseInSwitch(2) === \"beta\", 'message: caseInSwitch(2) should have a value of \"beta\"');",
- "assert(caseInSwitch(3) === \"gamma\", 'message: caseInSwitch(3) should have a value of \"gamma\"');",
- "assert(caseInSwitch(4) === \"delta\", 'message: caseInSwitch(4) should have a value of \"delta\"');",
+ "assert(caseInSwitch(1) === \"alpha\", 'message: caseInSwitch(1)
should have a value of \"alpha\"');",
+ "assert(caseInSwitch(2) === \"beta\", 'message: caseInSwitch(2)
should have a value of \"beta\"');",
+ "assert(caseInSwitch(3) === \"gamma\", 'message: caseInSwitch(3)
should have a value of \"gamma\"');",
+ "assert(caseInSwitch(4) === \"delta\", 'message: caseInSwitch(4)
should have a value of \"delta\"');",
"assert(!/else/g.test(code) || !/if/g.test(code), 'message: You should not use any if
or else
statements');",
"assert(code.match(/break/g).length > 2, 'message: You should have at least 3 break
statements');"
],