Skip to content

Commit ab1f15e

Browse files
author
Pretty Taruvinga
committed
reverted to previous description
1 parent 65182a5 commit ab1f15e

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
@@ -30,7 +30,7 @@ test("should append 'rd' for numbers ending with 3, except those ending with 13"
3030
// Case 1: Numbers ending with 1 (but not 11)
3131
// When the number ends with 1, except those ending with 11,
3232
// Then the function should return a string by appending "st" to the number.
33-
test("should append 'th' for special cases 11, 12, or 13", () => {
33+
test("should append 'th' for numbers ending with 11, 12, or 13", () => {
3434
expect(getOrdinalNumber(11)).toEqual("11th");
3535
expect(getOrdinalNumber(12)).toEqual("12th");
3636
expect(getOrdinalNumber(13)).toEqual("13th");

0 commit comments

Comments
 (0)