diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index c73d94542b4..69ad41e5659 100755 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -26,8 +26,7 @@ ], "tests": [ "assert(code.match(/(\\/\\/)...../g), 'message: Create a // style comment that contains at least five letters.');", - "assert(code.match(/(\\/\\*)[\\w\\W]{5,}(?=\\*\\/)/gm), 'message: Create a /* */ style comment that contains at least five letters.');", - "assert(code.match(/(\\*\\/)/g), 'message: Make sure that you close the comment with a */.');" + "assert(code.match(/(\\/\\*)([^\\*\\/]{5,})(?=\\*\\/)/gm), 'message: Create a /* */ style comment that contains at least five letters.');" ], "type": "waypoint", "challengeType": 1, @@ -5719,4 +5718,4 @@ "translations": {} } ] -} \ No newline at end of file +}