fix: Update test for wrapping strong tag around text to include periods at the end (#38305)

This commit is contained in:
Ashraf Nazar
2020-02-29 06:02:39 +00:00
committed by GitHub
parent 2d7b1255cc
commit 181ac1e8ad

View File

@ -26,8 +26,7 @@ tests:
- text: The <code>strong</code> tag should be inside the <code>p</code> tag. - text: The <code>strong</code> tag should be inside the <code>p</code> tag.
testString: assert($('p').children('strong').length == 1); testString: assert($('p').children('strong').length == 1);
- text: The <code>strong</code> tag should wrap around the words "Stanford University". - text: The <code>strong</code> tag should wrap around the words "Stanford University".
testString: assert($('strong').text().match(/^Stanford University$/gi)); testString: assert($('strong').text().match(/^Stanford University\.?$/gi));
``` ```
</section> </section>