Skip to content

Commit 0a69ac4

Browse files
authored
chore: fixes test expectation for lesson_07 isPalindrome function (code-differently#349)
Signed-off-by: Anthony D. Mays <[email protected]>
1 parent ac05dac commit 0a69ac4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lesson_07/conditionals/src/part_g.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import * as jest from "@jest/globals";
2-
import { daysUntilBirthday, findLargestNumber, isPalindrome } from "./part_g.js";
2+
import {
3+
daysUntilBirthday,
4+
findLargestNumber,
5+
isPalindrome,
6+
} from "./part_g.js";
37

48
const describe =
59
!process.env.HW_VERSION || process.env.HW_VERSION === "G"
@@ -38,7 +42,7 @@ describe("isPalindrome", () => {
3842
});
3943

4044
it("should ignore spaces", () => {
41-
expect(isPalindrome("race car")).toBe(false);
45+
expect(isPalindrome("race car")).toBe(true);
4246
expect(isPalindrome("taco cat")).toBe(true);
4347
});
4448

0 commit comments

Comments
 (0)