From c40c70886030b3332196bd4998933f1c3431977d Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Tue, 8 Dec 2015 23:47:50 -0800 Subject: [PATCH] Fix Waypoint Use Comments Test --- challenges/bootstrap.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/challenges/bootstrap.json b/challenges/bootstrap.json index 7b2815f779..5a19e0f96c 100644 --- a/challenges/bootstrap.json +++ b/challenges/bootstrap.json @@ -2253,9 +2253,10 @@ "Add a comment at the top of your HTML that says Only change code above this line." ], "tests": [ - "assert(code.match(/^.*\\n+.+/g), 'message: Be sure to close your comment with -->.');" + "assert(code.match(/^.*this line)).*this line.*-->/gi), 'message: Your comment should have the text Only change code above this line.');", + "assert(code.match(/-->.*\\n+.+/g), 'message: Be sure to close your comment with -->.');", + "assert(code.match(//g).length, 'message: You should have the same number of comment openers and closers.');" ], "challengeSeed": [ "
",