Update import-a-google-font.english.md (#19717)

This commit is contained in:
The Coding Aviator 2018-11-18 20:15:03 +05:30 committed by Tom
parent ab4b7ca3cc
commit b2328e96db

View File

@ -32,7 +32,7 @@ tests:
- text: Your <code>h2</code> element should use the font <code>Lobster</code>.
testString: assert($("h2").css("font-family").match(/lobster/i), 'Your <code>h2</code> element should use the font <code>Lobster</code>.');
- text: Use an <code>h2</code> CSS selector to change the font.
testString: assert(/\s*h2\s*\{\s*font-family\:\s*(\'|")?Lobster(\'|")?\s*;\s*\}/gi.test(code), 'Use an <code>h2</code> CSS selector to change the font.');
testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?(.{0,})\s*;\s*\}/gi.test(code), "Use an <code>h2</code> CSS selector to change the font.");'
- text: Your <code>p</code> element should still use the font <code>monospace</code>.
testString: assert($("p").css("font-family").match(/monospace/i), 'Your <code>p</code> element should still use the font <code>monospace</code>.');