From 04733cc127c5d1a8ae5d1fd9e3deede07a166602 Mon Sep 17 00:00:00 2001 From: wellington carlos Date: Fri, 28 Oct 2022 20:42:03 -0300 Subject: [PATCH] =?UTF-8?q?(refactor)retorno=20esperado=20da=20linha=2043?= =?UTF-8?q?=20estava=20replicado=20no=20da=20linha=2047,=20foi=20preciso?= =?UTF-8?q?=20alterar=20para=20o=20retorno=20correto=20que=20era=20-40=20p?= =?UTF-8?q?ara=20que=20o=20c=C3=B3digo=20desse=20certo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06-sum/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06-sum/index.test.js b/06-sum/index.test.js index a1c8d55..8dcce2a 100644 --- a/06-sum/index.test.js +++ b/06-sum/index.test.js @@ -44,6 +44,6 @@ describe("sum", () => { }); it("Dever retornar -40 quando passamos o array [-2, -7, -31]", () => { - expect(sum([-2, -7, -31])).toBe(-51); + expect(sum([-2, -7, -31])).toBe(-40); }) }); \ No newline at end of file