From 12d17aa8c823cfd8fa3e4001cc838c482da24bc7 Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Thu, 31 Dec 2015 16:03:10 -0800 Subject: [PATCH] Fix Plus-Equals Concatenation Waypoint --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 0565caa7ea0..983d3d346ad 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -1005,7 +1005,7 @@ ], "tests": [ "assert(myStr === \"This is the first sentence. This is the second sentence.\", 'message: myStr should have a value of This is the first sentence. This is the second sentence.');", - "assert(code.match(/\\w\\s*\\+=\\s*\"/g).length > 1 && code.match(/\\w\\s*\\=\\s*\"/g).length > 1, 'message: Use the += operator to build myStr');" + "assert(code.match(/\\w\\s*\\+=\\s*[\"']/g).length > 1 && code.match(/\\w\\s*\\=\\s*[\"']/g).length > 1, 'message: Use the += operator to build myStr');" ], "type": "waypoint", "challengeType": "1",