diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 0a68e050c2..1d29728124 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -1135,9 +1135,8 @@ "var myStr = 'Link';" ], "tests": [ - "assert(!/\\\\/g.test(code), 'message: Remove all the backslashes (\\)');", - "assert(code.match(/\"/g).length === 4 && code.match(/'/g).length === 2, 'message: You should have two single quotes ' and four double quotes "');", - "assert(myStr === 'Link', 'message: Only remove the backslashes \\ used to escape quotes.');" + "assert(!/\\\\/g.test(code) && myStr === 'Link', 'message: Remove all the backslashes (\\)');", + "assert(code.match(/\"/g).length === 4 && code.match(/'/g).length === 2, 'message: You should have two single quotes ' and four double quotes "');" ], "type": "waypoint", "challengeType": 1,