fix(curriculum): allow extra whitespace for regex in step 33 (#61673)

This commit is contained in:
Stuart Mosquera
2025-08-09 07:10:09 -03:00
committed by GitHub
parent b84dc47ecb
commit 906a21b2ad
@@ -15,7 +15,7 @@ Now, use the **OR** operator to add the `start` parameter as a second condition
You should use the **OR** operator to add the `start` parameter as a second condition to the `if` statement after `userData.currentSong === null`.
```js
assert.match(__helpers.removeJSComments(code), /if\s+\(\s*userData\s*\.\s*currentSong\s*===\s*null\s+\|\|\s+start(\s*\=\s*true\s*)?\)\s*\{/)
assert.match(__helpers.removeJSComments(code), /if\s*\(\s*userData\s*\.\s*currentSong\s*===\s*null\s*\|\|\s*start(\s*===?\s*true\s*)?\s*\)\s*\{/);
```
# --seed--