From 00a880411e76b478810c264cd87fbd3a9bd7037b Mon Sep 17 00:00:00 2001 From: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:21:12 +0100 Subject: [PATCH] feat(curriculum): add test for not removing spaces in step 67 of todo app (#57026) --- .../671682cd6d7aa95f0078f35f.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/671682cd6d7aa95f0078f35f.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/671682cd6d7aa95f0078f35f.md index ebc8335b541..07865bd0c69 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/671682cd6d7aa95f0078f35f.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/671682cd6d7aa95f0078f35f.md @@ -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