mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): update tests for step 62 of pyramid project (#54509)
This commit is contained in:
+1
-7
@@ -23,13 +23,7 @@ Open up the console to see the result.
|
||||
|
||||
# --hints--
|
||||
|
||||
You should call `.repeat()` on your two `" "` strings.
|
||||
|
||||
```js
|
||||
assert.lengthOf(code.match(/" ".repeat/g), 2);
|
||||
```
|
||||
|
||||
Your `" "` strings should be repeated `rowCount - rowNumber` times.
|
||||
You should call `.repeat()` on your `" "` strings to repeat them `rowCount - rowNumber` times.
|
||||
|
||||
```js
|
||||
assert.equal(padRow(1, 3), " # ");
|
||||
|
||||
Reference in New Issue
Block a user