diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
index 7c38dff344..dcfe44455e 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
@@ -32,7 +32,7 @@ tests:
- text: Your h2
element should use the font Lobster
.
testString: assert($("h2").css("font-family").match(/lobster/i), 'Your h2
element should use the font Lobster
.');
- text: Use an h2
CSS selector to change the font.
- testString: assert(/\s*h2\s*\{\s*font-family\:\s*(\'|")?Lobster(\'|")?\s*;\s*\}/gi.test(code), 'Use an h2
CSS selector to change the font.');
+ testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?(.{0,})\s*;\s*\}/gi.test(code), "Use an h2
CSS selector to change the font.");'
- text: Your p
element should still use the font monospace
.
testString: assert($("p").css("font-family").match(/monospace/i), 'Your p
element should still use the font monospace
.');