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 ab5cd0097d..03a9d83e3c 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -920,7 +920,9 @@
],
"tests": [
"assert(myStr === \"This is the start. This is the end.\", 'message: myStr
should have a value of This is the start. This is the end.
');",
- "assert(/var\\s+myStr\\s*=\\s*([\"'])This is the start\\. \\1\\s*\\+\\s*([\"'])This is the end\\.([\"'])/.test(code), 'message: Use the +
operator to build myStr
');"
+ "assert(code.match(/([\"']).*([\"'])\\s*\\+\\s*([\"']).*([\"'])/g).length > 1, 'message: Use the +
operator to build myStr
');",
+ "assert(/var\\s+myStr/.test(code), 'message: myStr
should be created using the var
keyword.');",
+ "assert(/myStr\\s*=/.test(code), 'message: Make sure to assign the result to the myStr
variable.');"
],
"type": "waypoint",
"challengeType": 1