Skip to content

Commit 3289e46

Browse files
committed
test: rephrase test to specify numerator is zero and denominator is non-zero
1 parent 24ab09f commit 3289e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ test(`should return false when denominator is zero`, () => {
99
expect(isProperFraction(1, 0)).toEqual(false);
1010
});
1111

12-
// Special case: numerator is zero
13-
test(`should return true when numerator is zero`, () => {
12+
// Special case: numerator is zero and denominator is non-zero
13+
test(`should return true when numerator is zero and denominator is non-zero`, () => {
1414
expect(isProperFraction(0, 4)).toEqual(true);
1515
});
1616

0 commit comments

Comments
 (0)