From d7c93fd42192907924420d2e35828841aae4997f Mon Sep 17 00:00:00 2001 From: Breno Cabral Date: Wed, 4 Sep 2024 10:45:06 -0300 Subject: [PATCH] Update instructions.md Change return p1 and p2 ``` CategoryExpenses(records, p1, "rent") // => 0, nil CategoryExpenses(records, p2, "rent") // => 1300, nil ``` --- exercises/concept/expenses/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/expenses/.docs/instructions.md b/exercises/concept/expenses/.docs/instructions.md index 577acfdb2..ff947cf57 100644 --- a/exercises/concept/expenses/.docs/instructions.md +++ b/exercises/concept/expenses/.docs/instructions.md @@ -159,8 +159,8 @@ CategoryExpenses(records, p1, "entertainment") // => 0, error(unknown category entertainment) CategoryExpenses(records, p1, "rent") -// => 1300, nil +// => 0, nil CategoryExpenses(records, p2, "rent") -// => 0, nil +// => 1300, nil ```