use lenient test for wording

This commit is contained in:
Shaun Hamilton
2021-12-02 00:36:38 +00:00
committed by GitHub
parent 7af5b572c5
commit aea82fba56

View File

@ -56,7 +56,7 @@ assert(document.querySelector('p')?.className === 'hero-subtitle');
Your `p` element should have the text set to `Our efforts to restructure our curriculum with a more project-based focus`.
```js
assert.equal(document.querySelector('p')?.textContent?.trim(), 'Our efforts to restructure our curriculum with a more project-based focus');
assert.equal(document.querySelector('p')?.textContent?.trim().replace(/\s{2,}/, ' '), 'Our efforts to restructure our curriculum with a more project-based focus');
```
# --seed--