Skip to content

Commit c828d5f

Browse files
Fix test case for zero numerator in isProperFraction
It was a typo error and is fixed now.
1 parent 0db1714 commit c828d5f

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
@@ -10,7 +10,7 @@ test(`should return false when denominator is zero`, () => {
1010
});
1111

1212
//Special case: numerator is zero
13-
test(`should return false when numerator is zero`, () => {
13+
test(`should return true when numerator is zero`, () => {
1414
expect(isProperFraction(0, 1)).toEqual(true);
1515
});
1616
// Proper functions with absolute numerator < absolute denominator

0 commit comments

Comments
 (0)