Skip to content

Commit bdc5bd7

Browse files
authored
Fix test for negative numerator and denominator
1 parent 07e63b8 commit bdc5bd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/2-is-proper-fraction.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ test("should return false when denominator is negative", () => {
3535
});
3636

3737
test("should return false when both numerator and denominator are negative", () => {
38-
expect(isProperFraction(-4, -5)).toEqual(false);
38+
expect(isProperFraction(-4, -5)).toEqual(true);
3939
});

0 commit comments

Comments
 (0)