fix: modified tests for step 10 of building a spam filter (#54364)

Co-authored-by: Naomi <nhcarrigan@gmail.com>
This commit is contained in:
Jenna (Ju Hee) Han
2024-04-15 17:32:09 +00:00
committed by GitHub
co-authored by Naomi
parent 8ffd180b4c
commit 4541f41b8b
@@ -23,12 +23,16 @@ Your `helpRegex` should match the string `please help`.
```js
assert.match('please help', helpRegex);
const splitRegex = helpRegex.toString().split(/[\/|]/);
assert.include(splitRegex, 'please help');
```
Your `helpRegex` should match the string `assist me`.
```js
assert.match('assist me', helpRegex);
const splitRegex = helpRegex.toString().split(/[\/|]/);
assert.include(splitRegex, 'assist me');
```
# --seed--