From eabc35f6f8196ab5550efd95cbcc2f5d4c899977 Mon Sep 17 00:00:00 2001 From: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:44:12 +0200 Subject: [PATCH] fix(curriculum): added a test in step 55 of pyramid try to guide more the camper (#56478) --- .../66643c93e05093c728abdbe9.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/66643c93e05093c728abdbe9.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/66643c93e05093c728abdbe9.md index 4a331bd6098..71004c96b0c 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/66643c93e05093c728abdbe9.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/66643c93e05093c728abdbe9.md @@ -33,7 +33,13 @@ You should have a function called `addTwoNumbers`. assert.isFunction(addTwoNumbers); ``` -Your function should return the sum of the two numbers. +Your function `addTwoNumbers` should have two parameters. + +```js +assert.lengthOf(addTwoNumbers, 2); +``` + +Your function should return the sum of the two parameters. ```js assert.strictEqual(addTwoNumbers(5,10), 15);