From 971d3e929bfad7987bc37fe482ce014ac574ba3d Mon Sep 17 00:00:00 2001 From: Madison Powers <105803016+powerm17@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:43:40 -0400 Subject: [PATCH] fix(curriculum): update tests for step 62 of pyramid project (#54509) --- .../660f374d532dc41189cc9cc2.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md index 57110b715a9..37487b1771c 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md @@ -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), " # ");