fix(curriculum): import a google font lesson regex test (#41907)

This commit is contained in:
Tom
2021-04-24 05:43:55 -05:00
committed by GitHub
parent e79e212912
commit 6be76738b0

View File

@ -57,7 +57,7 @@ You should only use an `h2` element selector to change the font.
```js ```js
assert( assert(
/\s*[^\.]h2\s*\{\s*font-family\:\s*(['"]?)Lobster\1\s*(;\s*\}|\})/gi.test( /\s*[^\.]h2\s*\{\s*font-family\s*:\s*('|"|)Lobster\1\s*(,\s*('|"|)[a-z -]+\3\s*)?(;\s*\}|\})/gi.test(
code code
) )
); );