mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-28 14:01:28 -04:00
feat(curriculum): add test for not removing spaces in step 67 of todo app (#57026)
This commit is contained in:
@@ -19,6 +19,12 @@ You should define a `removeSpecialChars` function.
|
||||
assert.isFunction(removeSpecialChars);
|
||||
```
|
||||
|
||||
Your `removeSpecialChars` should not remove spaces.
|
||||
|
||||
```js
|
||||
assert.strictEqual(removeSpecialChars("The quick brown fox jumps over the lazy dog"),"The quick brown fox jumps over the lazy dog");
|
||||
```
|
||||
|
||||
Your `removeSpecialChars` should remove single quotes.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user