Skip to content

Commit 050e86a

Browse files
committed
Change expected output from true to false in isProperFraction test for negative numerator
1 parent 8daafbd commit 050e86a

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 improper fractions", () => {
1313

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

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

0 commit comments

Comments
 (0)