From 181ac1e8ad2ecd162d55c0dfba74d95c8e9ae9a6 Mon Sep 17 00:00:00 2001 From: Ashraf Nazar Date: Sat, 29 Feb 2020 06:02:39 +0000 Subject: [PATCH] fix: Update test for wrapping strong tag around text to include periods at the end (#38305) --- .../use-the-strong-tag-to-make-text-bold.english.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold.english.md index 66d6f6e529..46f3445cd8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold.english.md @@ -26,8 +26,7 @@ tests: - text: The strong tag should be inside the p tag. testString: assert($('p').children('strong').length == 1); - text: The strong tag should wrap around the words "Stanford University". - testString: assert($('strong').text().match(/^Stanford University$/gi)); - + testString: assert($('strong').text().match(/^Stanford University\.?$/gi)); ```