fix: regex test for building a magezine project (#47848)
fix(curriculum) Fixed the regex that asserted wrong answer as correct as mentioned in issue #47466pull/48705/head
parent
2ac49cbc52
commit
834df9cc84
|
@ -24,7 +24,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote::before'));
|
|||
Your `.quote::before` selector should have a `content` property set to `'" '`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.quote::before')?.content?.match(/\\?\"\s/));
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.quote::before')?.content?.match(/\"\\"\s\"/));
|
||||
```
|
||||
|
||||
You should have a `.quote::after` selector.
|
||||
|
@ -36,7 +36,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote::after'));
|
|||
Your `.quote::after` selector should have a `content` property set to `' "'`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.quote::after')?.content?.match(/\s\\?\"/));
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.quote::after')?.content?.match(/\"\s\\""/));
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
|
Loading…
Reference in New Issue