diff --git a/challenges/bootstrap.json b/challenges/bootstrap.json index 6a5f08981a..9190bc375a 100644 --- a/challenges/bootstrap.json +++ b/challenges/bootstrap.json @@ -1141,7 +1141,7 @@ ], "tests": [ "assert($(\"i\").hasClass(\"fa fa-thumbs-up\"), 'message: Add an i element with the classes fa and fa-thumbs-up.');", - "assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi), 'message: Your fa-thumbs-up icon should be located within the Like button.');", + "assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi) && $(\".btn-primary > i\").hasClass(\"fa fa-thumbs-up\"), 'message: Your fa-thumbs-up icon should be located within the Like button.');", "assert($(\"button\").children(\"i\").length > 0, 'message: Nest your i element within your button element.');", "assert(code.match(/<\\/i>/g), 'message: Make sure your i element has a closing tag.');" ],