diff --git a/seed/challenges/03-front-end-libraries/bootstrap.json b/seed/challenges/03-front-end-libraries/bootstrap.json index 8480b356c2..dd945cdf9c 100644 --- a/seed/challenges/03-front-end-libraries/bootstrap.json +++ b/seed/challenges/03-front-end-libraries/bootstrap.json @@ -1107,7 +1107,7 @@ ], "tests": [ "assert($(\"p span\") && $(\"p span\").length > 0, 'message: Your span element should be inside your p element.');", - "assert($(\"p span\") && $(\"p span\").text().match(/love/i), 'message: Your span element should have the text love.');", + "assert($(\"p span\") && $(\"p span\").text().match(/love/i) && !$(\"p span\").text().match(/Things cats/i), 'message: Your span element should have just the text love.');", "assert($(\"span\").hasClass(\"text-danger\"), 'message: Your span element should have class text-danger.');", "assert(code.match(/<\\/span>/g) && code.match(//g).length === code.match(/span element has a closing tag.');" ],