fix(curriculum) - allow spaces before the parenthesises in function declarations in step 144 rpg project (#52776)

This commit is contained in:
a2937
2023-12-27 17:07:06 -05:00
committed by GitHub
parent 4a6b86a614
commit 88689b757f

View File

@@ -20,7 +20,7 @@ assert.match(code, /function\s+getMonsterAttackValue/);
Your `getMonsterAttackValue` should take `level` as a parameter.
```js
assert.match(code, /getMonsterAttackValue\(\s*level\s*\)/);
assert.match(code, /getMonsterAttackValue\s*\(\s*level\s*\)/);
```
# --seed--