From e82a2ecb6b6ae2e846f781149ec7f5d7c687543d Mon Sep 17 00:00:00 2001 From: NicoFerni Date: Wed, 9 Apr 2025 12:01:32 -0300 Subject: [PATCH] Expected wrong boolean for a palindrome --- .../problems/__tests__/strings/04_palindromePermutation.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technical-fundamentals/coding/problems/__tests__/strings/04_palindromePermutation.test.ts b/technical-fundamentals/coding/problems/__tests__/strings/04_palindromePermutation.test.ts index b90dbf0c..dfa631d6 100644 --- a/technical-fundamentals/coding/problems/__tests__/strings/04_palindromePermutation.test.ts +++ b/technical-fundamentals/coding/problems/__tests__/strings/04_palindromePermutation.test.ts @@ -14,7 +14,7 @@ describe("04 - palindromePermutation", () => { }); test("Palindrome with even length", () => { - expect(palindromePermutation("rdeder")).toEqual(true); + expect(palindromePermutation("rdeder")).toEqual(false); }); test("Non-palindrome with odd length", () => {