Skip to content

Commit ce9617e

Browse files
committed
update test description to be more specific and informative
1 parent 4bfa7d6 commit ce9617e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/2-practice-tdd/get-ordinal-number.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test("should append 'th' for numbers ending with 3 that are also ending with 13"
4343
});
4444

4545
// Case 4: All other numbers
46-
test("should append 'th' for all other numbers", () => {
46+
test("should append 'th' for numbers that do not follow the 1, 2, 3 rule (e.g., 4, 5, 6...)", () => {
4747
expect(getOrdinalNumber(4)).toEqual("4th");
4848
expect(getOrdinalNumber(5)).toEqual("5th");
4949
});

0 commit comments

Comments
 (0)