Skip to content

Commit 6db1bca

Browse files
committed
Change test result to true for -2/3
1 parent 2f42a85 commit 6db1bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -13,7 +13,7 @@ test("should return false for an improper fraction", () => {
1313

1414
// Case 3: Identify Negative Fractions:
1515
test("should return false for a negative fraction", () => {
16-
expect(isProperFraction(-2, 3)).toEqual(false);
16+
expect(isProperFraction(-2, 3)).toEqual(true);
1717
});
1818

1919
// Case 4: Identify Equal Numerator and Denominator:

0 commit comments

Comments
 (0)